diff options
Diffstat (limited to 'security/qca-tls/patches/patch-ab')
-rw-r--r-- | security/qca-tls/patches/patch-ab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab index dc30a602e83..06835de5d6b 100644 --- a/security/qca-tls/patches/patch-ab +++ b/security/qca-tls/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2006/01/31 09:47:05 joerg Exp $ --- qca-tls.cpp.orig 2005-12-27 22:22:32.000000000 +0000 +++ qca-tls.cpp @@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $ if(!r) { // try this other public function, for whatever reason p = (void *)in; -+#ifdef OSSL_097 ++#if OPENSSL_VERSION_NUMBER >= 0x00908000 + r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len); +#else r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len); @@ -18,7 +18,7 @@ $NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $ bool createFromDER(const char *in, unsigned int len) { -+#ifdef OSSL_097 ++#if OPENSSL_VERSION_NUMBER >= 0x00908000 + const unsigned char *p = (const unsigned char *)in; +#else unsigned char *p = (unsigned char *)in; |