diff options
Diffstat (limited to 'daemon/remote.c')
| -rw-r--r-- | daemon/remote.c | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/daemon/remote.c b/daemon/remote.c index c16e4e521c44..d533e0867fff 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -208,12 +208,14 @@ daemon_remote_create(struct config_file* cfg)  		return NULL;  	}  	/* no SSLv2, SSLv3 because has defects */ -	if(!(SSL_CTX_set_options(rc->ctx, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2)){ +	if((SSL_CTX_set_options(rc->ctx, SSL_OP_NO_SSLv2) & SSL_OP_NO_SSLv2) +		!= SSL_OP_NO_SSLv2){  		log_crypto_err("could not set SSL_OP_NO_SSLv2");  		daemon_remote_delete(rc);  		return NULL;  	} -	if(!(SSL_CTX_set_options(rc->ctx, SSL_OP_NO_SSLv3) & SSL_OP_NO_SSLv3)){ +	if((SSL_CTX_set_options(rc->ctx, SSL_OP_NO_SSLv3) & SSL_OP_NO_SSLv3) +		!= SSL_OP_NO_SSLv3){  		log_crypto_err("could not set SSL_OP_NO_SSLv3");  		daemon_remote_delete(rc);  		return NULL;  | 
