int num_ciphers;
const SSL_CIPHER *this_cipher;
+ report_ciphers:
server_ciphers = SSL_get_ciphers(s);
if (server_ciphers) {
RDEBUG3("Server preferred ciphers (by priority)");
RDEBUG3("(TLS) [%i] %s", i, SSL_CIPHER_get_name(this_cipher));
}
}
-
+
client_ciphers = SSL_get_client_ciphers(s);
if (client_ciphers) {
RDEBUG3("(TLS) %s - Client preferred ciphers (by priority)", conf->name);
return;
}
RERROR("(TLS) %s - %s: Error in %s", conf->name, role, state);
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+ if (RDEBUG_ENABLED3 && (SSL_get_state(s) == TLS_ST_SR_CLNT_HELLO)) goto report_ciphers;
+#endif
}
}
}