Should error on empty protocol config.

pull/2438/head
Roger A. Light 4 years ago
parent b45c7ebacd
commit e4ab1cf213

@ -2102,6 +2102,7 @@ static int config__read_file_core(struct mosquitto__config *config, bool reload,
}
}else{
log__printf(NULL, MOSQ_LOG_ERR, "Error: Empty protocol value in configuration.");
return MOSQ_ERR_INVAL;
}
}else if(!strcmp(token, "psk_file")){
#ifdef FINAL_WITH_TLS_PSK

Loading…
Cancel
Save