Fix building with older OpenSSL
This commit is contained in:
parent
10823c2c40
commit
96f88f4152
2 changed files with 15 additions and 1 deletions
|
@ -1,10 +1,11 @@
|
|||
$NetBSD: distinfo,v 1.41 2010/05/08 09:05:47 adam Exp $
|
||||
$NetBSD: distinfo,v 1.42 2010/05/25 06:47:31 adam Exp $
|
||||
|
||||
SHA1 (bacula-5.0.2.tar.gz) = fe5b8d682fe73d2458f0b2965ea88386ba40f0d5
|
||||
RMD160 (bacula-5.0.2.tar.gz) = cb2e767476baf0d0bc3573a39882870e41dda6db
|
||||
Size (bacula-5.0.2.tar.gz) = 4189272 bytes
|
||||
SHA1 (patch-aa) = 088623d447102579d2723f0ff0a1e802d83cfdd0
|
||||
SHA1 (patch-ac) = 4ba89bcf49ce82b527edc789e2b17a781cb8622e
|
||||
SHA1 (patch-ad) = e80f433b251709db6504e6f8ecc158c43590ae93
|
||||
SHA1 (patch-ae) = cfd66ce6ae33b993a9398b1d40aa6b6c7fc84552
|
||||
SHA1 (patch-af) = eb573f4b823c6c693634989883d2f94d2fa81f98
|
||||
SHA1 (patch-ah) = 8cfe18b486fdd49eb162e20509ddf59e4b0c7375
|
||||
|
|
13
sysutils/bacula/patches/patch-ad
Normal file
13
sysutils/bacula/patches/patch-ad
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-ad,v 1.4 2010/05/25 06:47:31 adam Exp $
|
||||
|
||||
--- src/lib/tls.c.orig 2010-04-27 19:58:29.000000000 +0000
|
||||
+++ src/lib/tls.c
|
||||
@@ -315,7 +315,7 @@ bool tls_postconnect_verify_host(JCR *jc
|
||||
extname = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext)));
|
||||
|
||||
if (strcmp(extname, "subjectAltName") == 0) {
|
||||
-#ifdef HAVE_OPENSSLv1
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
||||
const X509V3_EXT_METHOD *method;
|
||||
#else
|
||||
X509V3_EXT_METHOD *method;
|
Loading…
Reference in a new issue