summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/qca-tls/files')
-rw-r--r--app-crypt/qca-tls/files/digest-qca-tls-1.0-r33
-rw-r--r--app-crypt/qca-tls/files/qca-openssl-0.9.8.patch26
2 files changed, 29 insertions, 0 deletions
diff --git a/app-crypt/qca-tls/files/digest-qca-tls-1.0-r3 b/app-crypt/qca-tls/files/digest-qca-tls-1.0-r3
new file mode 100644
index 000000000000..5c73b0dd50f5
--- /dev/null
+++ b/app-crypt/qca-tls/files/digest-qca-tls-1.0-r3
@@ -0,0 +1,3 @@
+MD5 886b1f60fc31de3b1a0bd93281e27b73 qca-tls-1.0.tar.bz2 23489
+RMD160 c553782e77ab54edde7e4f0676a3caad74dfa910 qca-tls-1.0.tar.bz2 23489
+SHA256 510edd7b1be3a4ac097b2b501fa908043aaa57f3efbab8e81cee0c8ae15af0cd qca-tls-1.0.tar.bz2 23489
diff --git a/app-crypt/qca-tls/files/qca-openssl-0.9.8.patch b/app-crypt/qca-tls/files/qca-openssl-0.9.8.patch
new file mode 100644
index 000000000000..2afb3079f6a7
--- /dev/null
+++ b/app-crypt/qca-tls/files/qca-openssl-0.9.8.patch
@@ -0,0 +1,26 @@
+--- qca-tls.cpp.orig 2005-12-27 22:22:32.000000000 +0000
++++ qca-tls.cpp
+@@ -454,7 +454,11 @@ public:
+ if(!r) {
+ // try this other public function, for whatever reason
+ p = (void *)in;
++#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);
++#endif
+ }
+ if(r) {
+ if(pub) {
+@@ -798,7 +802,11 @@ public:
+
+ bool createFromDER(const char *in, unsigned int len)
+ {
++#if OPENSSL_VERSION_NUMBER >= 0x00908000
++ const unsigned char *p = (const unsigned char *)in;
++#else
+ unsigned char *p = (unsigned char *)in;
++#endif
+ X509 *t = d2i_X509(NULL, &p, len);
+ if(!t)
+ return false;