diff options
author | demon <demon@FreeBSD.org> | 2012-02-28 18:12:33 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2012-02-28 18:12:33 +0800 |
commit | 36340d4ff1509d6af2c36fe09be24140e7bf42ae (patch) | |
tree | f2b83a6b81933bbae58322a7b26d83e05473dcaa /security/qca-tls | |
parent | ad1eaca34508729364854bc70216261f5c3a2f0a (diff) | |
download | freebsd-ports-gnome-36340d4ff1509d6af2c36fe09be24140e7bf42ae.tar.gz freebsd-ports-gnome-36340d4ff1509d6af2c36fe09be24140e7bf42ae.tar.zst freebsd-ports-gnome-36340d4ff1509d6af2c36fe09be24140e7bf42ae.zip |
Fix build with recent OpenSSL from ports.
Diffstat (limited to 'security/qca-tls')
-rw-r--r-- | security/qca-tls/files/patch-qca-tls.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/security/qca-tls/files/patch-qca-tls.cpp b/security/qca-tls/files/patch-qca-tls.cpp index 931c634383b0..446fead27c72 100644 --- a/security/qca-tls/files/patch-qca-tls.cpp +++ b/security/qca-tls/files/patch-qca-tls.cpp @@ -1,5 +1,5 @@ ---- qca-tls.cpp.orig Fri Aug 26 10:47:35 2005 -+++ qca-tls.cpp Fri Aug 26 10:51:07 2005 +--- qca-tls.cpp.orig 2003-12-10 19:53:57.000000000 +0300 ++++ qca-tls.cpp 2012-02-28 14:06:08.000000000 +0400 @@ -454,7 +454,11 @@ if(!r) { // try this other public function, for whatever reason @@ -24,3 +24,15 @@ if(!t) return false; fromX509(t); +@@ -945,7 +953,11 @@ + RSAKeyContext *key; + + SSL *ssl; ++#if OPENSSL_VERSION_NUMBER >= 0x10000000L ++ const SSL_METHOD *method; ++#else + SSL_METHOD *method; ++#endif + SSL_CTX *context; + BIO *rbio, *wbio; + CertContext cc; |