diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sslutils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/sslutils.c b/plugins/sslutils.c index 0bc61ed3..6e86dc62 100644 --- a/plugins/sslutils.c +++ b/plugins/sslutils.c | |||
@@ -52,6 +52,9 @@ int np_net_ssl_init_with_hostname (int sd, char *host_name) { | |||
52 | printf ("%s\n", _("CRITICAL - Cannot create SSL context.")); | 52 | printf ("%s\n", _("CRITICAL - Cannot create SSL context.")); |
53 | return STATE_CRITICAL; | 53 | return STATE_CRITICAL; |
54 | } | 54 | } |
55 | #ifdef SSL_OP_NO_TICKET | ||
56 | SSL_CTX_set_options(c, SSL_OP_NO_TICKET); | ||
57 | #endif | ||
55 | if ((s = SSL_new (c)) != NULL){ | 58 | if ((s = SSL_new (c)) != NULL){ |
56 | #ifdef SSL_set_tlsext_host_name | 59 | #ifdef SSL_set_tlsext_host_name |
57 | if (host_name != NULL) | 60 | if (host_name != NULL) |