if (cfg->remote_control_use_cert == 0) {
/* No certificates are requested */
+ #if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(HAVE_LIBRESSL)
+ SSL_CTX_set_security_level(rc->ctx, 0);
+ #endif
if(!SSL_CTX_set_cipher_list(rc->ctx, "aNULL")) {
log_crypto_err("Failed to set aNULL cipher list");
daemon_remote_delete(rc);
+3 November 2016: Ralph
+ - Set OpenSSL security level to 0 when using aNULL ciphers.
+
3 November 2016: Wouter
- .gitattributes line for githubs code language display.
- log-identity: config option to set sys log identity, patch from
free(c_cert);
} else {
/* Use ciphers that don't require authentication */
+ #if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(HAVE_LIBRESSL)
+ SSL_CTX_set_security_level(ctx, 0);
+ #endif
if(!SSL_CTX_set_cipher_list(ctx, "aNULL"))
ssl_err("Error setting NULL cipher!");
}