Remove erroneous warning about SPTPS being disabled.

This commit is contained in:
Guus Sliepen 2013-12-08 21:37:56 +01:00
parent be1446f5d0
commit ef8efdfff1

View file

@ -673,7 +673,8 @@ static bool setup_myself(void) {
if(!get_config_bool(lookup_config(config_tree, "ExperimentalProtocol"), &experimental)) {
experimental = read_ecdsa_private_key();
logger(DEBUG_ALWAYS, LOG_WARNING, "Support for SPTPS disabled.");
if(!experimental)
logger(DEBUG_ALWAYS, LOG_WARNING, "Support for SPTPS disabled.");
} else {
if(experimental && !read_ecdsa_private_key())
return false;