diff options
Diffstat (limited to 'plugins/sslutils.c')
-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) { printf ("%s\n", _("CRITICAL - Cannot create SSL context.")); return STATE_CRITICAL; } +#ifdef SSL_OP_NO_TICKET + SSL_CTX_set_options(c, SSL_OP_NO_TICKET); +#endif if ((s = SSL_new (c)) != NULL){ #ifdef SSL_set_tlsext_host_name if (host_name != NULL) |