Merge pull request #1313 from matevzmihalic/fix-plugin-psk-v4

Fix plugin psk_key_get for v4
pull/1328/head
Roger Light 6 years ago committed by GitHub
commit 5417467426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -752,7 +752,7 @@ int mosquitto_psk_key_get(struct mosquitto_db *db, struct mosquitto *context, co
}
for(i=0; i<opts->auth_plugin_config_count; i++){
if(opts->auth_plugin_configs[i].plugin.version == 3
if(opts->auth_plugin_configs[i].plugin.version == 4
&& opts->auth_plugin_configs[i].plugin.psk_key_get_v4){
rc = opts->auth_plugin_configs[i].plugin.psk_key_get_v4(

Loading…
Cancel
Save