summaryrefslogtreecommitdiff
path: root/security/qca-tls/patches
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-12-20 20:37:21 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-12-20 20:37:21 +0000
commite210ff0a0a19edc3adff9641e82d8722cb0a5ab3 (patch)
treea53621c82b502c0e629a13c6362395c01cf7ca38 /security/qca-tls/patches
parentfdcf68587f496f2f05d8c2da19e3de30a7477ee5 (diff)
downloadpkgsrc-e210ff0a0a19edc3adff9641e82d8722cb0a5ab3.tar.gz
move back to version 1.0 for security/qca and re-add security/qca-tls
(for qca 1.x), so that kdenetwork3 works again XXX these should be renamed to qca1* after current freeze
Diffstat (limited to 'security/qca-tls/patches')
-rw-r--r--security/qca-tls/patches/patch-aa15
-rw-r--r--security/qca-tls/patches/patch-ab28
2 files changed, 43 insertions, 0 deletions
diff --git a/security/qca-tls/patches/patch-aa b/security/qca-tls/patches/patch-aa
new file mode 100644
index 00000000000..b508b4435b4
--- /dev/null
+++ b/security/qca-tls/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
+
+--- configure.orig 2004-12-19 09:10:21.000000000 +0000
++++ configure 2004-12-19 09:20:50.000000000 +0000
+@@ -144,8 +144,10 @@
+
+ s = conf->getenv("QC_WITH_OPENSSL_LIB");
+ if(!s.isEmpty()) {
++ /*
+ if(!conf->checkLibrary(s, "ssl"))
+ return false;
++ */
+ lib = s;
+ }
+ else {
diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab
new file mode 100644
index 00000000000..2b53de120ff
--- /dev/null
+++ b/security/qca-tls/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.4 2007/12/20 20:37:27 jdolecek 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;