aboutsummaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2012-02-28 10:12:33 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2012-02-28 10:12:33 +0000
commit023789bfc6d33e2a67de618b5ade888ccac5f685 (patch)
tree8658a50d9740c99ac473f04fb62803dc23320935 /security/qca-tls
parentbbe312d32ab9008c6dff65e0887a7bdbcf7c944e (diff)
Fix build with recent OpenSSL from ports.
Notes
Notes: svn path=/head/; revision=292358
Diffstat (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/files/patch-qca-tls.cpp16
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;