pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/qca-tls OpenSSL 0.9.7 doesn't work with unsig...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7bb10e481abb
branches:  trunk
changeset: 507338:7bb10e481abb
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 31 09:47:04 2006 +0000

description:
OpenSSL 0.9.7 doesn't work with unsigned char in this parts, so try
to conditionalize it for OpenSSL 0.9.8 and newer.

diffstat:

 security/qca-tls/distinfo         |  4 ++--
 security/qca-tls/patches/patch-ab |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 9d8b11302930 -r 7bb10e481abb security/qca-tls/distinfo
--- a/security/qca-tls/distinfo Tue Jan 31 04:15:29 2006 +0000
+++ b/security/qca-tls/distinfo Tue Jan 31 09:47:04 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/12/27 22:28:08 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/01/31 09:47:04 joerg Exp $
 
 SHA1 (qca-tls-1.0.tar.bz2) = 775e764c5be342048eba11dae5c5fd3b636d23c5
 RMD160 (qca-tls-1.0.tar.bz2) = c553782e77ab54edde7e4f0676a3caad74dfa910
 Size (qca-tls-1.0.tar.bz2) = 23489 bytes
 SHA1 (patch-aa) = 2c28782e3af7ecffa0b5758f1671c0773bc9af03
-SHA1 (patch-ab) = 379df4bf16f951c1a1dc044b9aa6683b3755efba
+SHA1 (patch-ab) = 3d59570c75a52f0ce9850584326ceeb4bf59f08f
diff -r 9d8b11302930 -r 7bb10e481abb security/qca-tls/patches/patch-ab
--- a/security/qca-tls/patches/patch-ab Tue Jan 31 04:15:29 2006 +0000
+++ b/security/qca-tls/patches/patch-ab Tue Jan 31 09:47:04 2006 +0000
@@ -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 @@
                        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 @@
  
        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;



Home | Main Index | Thread Index | Old Index