[nagiosplug] Allow for configuring OpenSSL

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Tue Oct 9 10:00:22 CEST 2012


 Module: nagiosplug
 Branch: master
 Commit: b74543a61253d3cf6784e67d2f021d68eba53639
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Tue Oct  9 09:44:48 2012 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=b74543a

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.)

---

 plugins/common.h |    1 +
 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 @@
 #ifdef HAVE_GNUTLS_OPENSSL_H
 #  include <gnutls/openssl.h>
 #else
+#  define OPENSSL_LOAD_CONF /* See the OPENSSL_config(3) man page. */
 #  ifdef HAVE_SSL_H
 #    include <rsa.h>
 #    include <crypto.h>





More information about the Commits mailing list