forked from Lainports/freebsd-ports
sysutils/bacula-client and net-mgmt/nagios-check_bacula to 5.0.2. PR: ports/146766 Submitted by: Allan Jude <freebsd.lists@thunderit.com> Approved by: Dan Langille <dan@langille.org> (maintainer)
11 lines
429 B
C
11 lines
429 B
C
--- src/lib/tls.c.orig 2010-05-20 20:34:49.000000000 +0300
|
|
+++ src/lib/tls.c 2010-05-20 20:35:19.000000000 +0300
|
|
@@ -315,7 +315,7 @@
|
|
extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext)));
|
|
|
|
if (strcmp(extname, "subjectAltName") == 0) {
|
|
-#ifdef HAVE_OPENSSLv1
|
|
+#if (OPENSSL_VERSION_NUMBER >= 0x10000000L)
|
|
const X509V3_EXT_METHOD *method;
|
|
#else
|
|
X509V3_EXT_METHOD *method;
|