From f21946d8966160cd3c695975e3a608e4592ab7fb Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 19 Jul 2005 13:51:59 +0000 Subject: [PATCH] Clifford Wolf: Fixed qca for new OpenSSL library [2005071912131816092] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6239 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../qca/const-cast-hotfix.patch.qca-tls | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/stefanp/qca/const-cast-hotfix.patch.qca-tls diff --git a/package/stefanp/qca/const-cast-hotfix.patch.qca-tls b/package/stefanp/qca/const-cast-hotfix.patch.qca-tls new file mode 100644 index 000000000..85c547736 --- /dev/null +++ b/package/stefanp/qca/const-cast-hotfix.patch.qca-tls @@ -0,0 +1,20 @@ +--- ./qca-tls.cpp.vanilla 2005-07-19 12:20:15.000000000 +0200 ++++ ./qca-tls.cpp 2005-07-19 12:20:46.000000000 +0200 +@@ -454,7 +454,7 @@ + if(!r) { + // try this other public function, for whatever reason + p = (void *)in; +- r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len); ++ r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len); + } + if(r) { + if(pub) { +@@ -799,7 +799,7 @@ + bool createFromDER(const char *in, unsigned int len) + { + unsigned char *p = (unsigned char *)in; +- X509 *t = d2i_X509(NULL, &p, len); ++ X509 *t = d2i_X509(NULL, (const unsigned char **)&p, len); + if(!t) + return false; + fromX509(t);