--- nagios-plugins-1.4.15-orig/plugins/sslutils.c 2010-07-27 16:47:16.000000000 -0400 +++ nagios-plugins-1.4.15/plugins/sslutils.c 2010-11-06 08:45:59.000000000 -0400 @@ -51,6 +51,11 @@ printf ("%s\n", _("CRITICAL - Cannot create SSL context.")); return STATE_CRITICAL; } +#ifndef SSL_enforce_sanity + if (c) { + SSL_CTX_set_options(c,SSL_OP_ALL); + } +#endif if ((s = SSL_new (c)) != NULL){ #ifdef SSL_set_tlsext_host_name if (host_name != NULL)