summaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-27 22:28:08 +0000
committerjoerg <joerg>2005-12-27 22:28:08 +0000
commit8193dfcd174a080d27ebbc0f29f2b5e16a1c5497 (patch)
tree25ff16aaffe7f4b978247ca7658d199af82a26ca /security/qca-tls
parent1af2ca3bdacccec8cfdaaece0d6333481741a38d (diff)
downloadpkgsrc-8193dfcd174a080d27ebbc0f29f2b5e16a1c5497.tar.gz
Add some more OpenSSL 0.9.7 fixes for DragonFly.
Diffstat (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/distinfo3
-rw-r--r--security/qca-tls/patches/patch-ab28
2 files changed, 30 insertions, 1 deletions
diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo
index e9115356f76..5ea95c330bd 100644
--- a/security/qca-tls/distinfo
+++ b/security/qca-tls/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/09/13 04:27:21 dmcmahill Exp $
+$NetBSD: distinfo,v 1.5 2005/12/27 22:28:08 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
diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab
new file mode 100644
index 00000000000..dc30a602e83
--- /dev/null
+++ b/security/qca-tls/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1 2005/12/27 22:28:08 joerg Exp $
+
+--- 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;
++#ifdef OSSL_097
++ 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)
+ {
++#ifdef OSSL_097
++ 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;