summaryrefslogtreecommitdiffstats
path: root/plugins/common.h
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2012-10-09 07:44:48 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2012-10-09 07:44:48 (GMT)
commitb74543a61253d3cf6784e67d2f021d68eba53639 (patch)
tree30e9098769061a8c6b4877a44996a64e91a8cc32 /plugins/common.h
parent05c4c9bfc649ba8f66e470667824200c2cda5314 (diff)
downloadmonitoring-plugins-b74543a61253d3cf6784e67d2f021d68eba53639.tar.gz
Allow for configuring OpenSSL
Let OpenSSL load its configuration file. See the OPENSSL_config(3) man page for details. (Suggested by Max Kosmach in Debian bug report #689960, forwarded by Jan Wagner.)
Diffstat (limited to 'plugins/common.h')
-rw-r--r--plugins/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/common.h b/plugins/common.h
index 09af7e7..c0dc2f4 100644
--- a/plugins/common.h
+++ b/plugins/common.h
@@ -141,6 +141,7 @@
141#ifdef HAVE_GNUTLS_OPENSSL_H 141#ifdef HAVE_GNUTLS_OPENSSL_H
142# include <gnutls/openssl.h> 142# include <gnutls/openssl.h>
143#else 143#else
144# define OPENSSL_LOAD_CONF /* See the OPENSSL_config(3) man page. */
144# ifdef HAVE_SSL_H 145# ifdef HAVE_SSL_H
145# include <rsa.h> 146# include <rsa.h>
146# include <crypto.h> 147# include <crypto.h>