diff options
Diffstat (limited to 'util/net_help.h')
-rw-r--r-- | util/net_help.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/net_help.h b/util/net_help.h index 54f4c9c0e7cd0..f0236e5335dfe 100644 --- a/util/net_help.h +++ b/util/net_help.h @@ -345,6 +345,19 @@ void sock_list_merge(struct sock_list** list, struct regional* region, */ void log_crypto_err(const char* str); +/** + * Set SSL_OP_NOxxx options on SSL context to disable bad crypto + * @param ctxt: SSL_CTX* + * @return false on failure. + */ +int listen_sslctx_setup(void* ctxt); + +/** + * Further setup of listening SSL context, after keys loaded. + * @param ctxt: SSL_CTX* + */ +void listen_sslctx_setup_2(void* ctxt); + /** * create SSL listen context * @param key: private key file. |