Commit 8c76c9a6 authored by Giuseppe's avatar Giuseppe

upgraded lib32-openssl to version 1.0.0.d

parent 5e12cb13
......@@ -5,7 +5,7 @@
_pkgbasename=openssl
pkgname=lib32-$_pkgbasename
_ver=1.0.0a
_ver=1.0.0d
# use a pacman compatible version scheme
pkgver=${_ver/[a-z]/.${_ver//[0-9.]/}}
pkgrel=1
......@@ -18,12 +18,10 @@ optdepends=('ca-certificates' perl gcc-multilib)
options=('!makeflags')
source=("https://www.openssl.org/source/${_pkgbasename}-${_ver}.tar.gz"
'no-rpath.patch'
'ca-dir.patch'
'fix-double-free.patch')
md5sums=('e3873edfffc783624cfbdb65e2249cbd'
'ca-dir.patch')
md5sums=('40b6ea380cc8a5bf9734c2f8bf7e701e'
'dc78d3d06baffc16217519242ce92478'
'3bf51be3a1bbd262be46dc619f92aa90'
'ccb896e23a44b89a3c93ac094c592c1f')
'3bf51be3a1bbd262be46dc619f92aa90')
# keep an upgrade path for older installations
......@@ -38,10 +36,6 @@ build() {
patch -p0 -i $srcdir/no-rpath.patch
# set ca dir to /etc/ssl by default
patch -p0 -i $srcdir/ca-dir.patch
# fix double free
# see http://marc.info/?l=openssl-dev&m=128118163216952&w=2
# and http://marc.info/?l=openssl-dev&m=128128256314328&w=2
patch -p0 -i $srcdir/fix-double-free.patch
# mark stack as non-executable: http://bugs.archlinux.org/task/12434
./Configure linux-elf --prefix=/usr --openssldir=/etc/ssl --libdir=lib32 \
shared zlib enable-md2 -Wa,--noexecstack
......
--- ssl/s3_clnt.c.orig Sun Feb 28 01:24:24 2010
+++ ssl/s3_clnt.c Sun Aug 8 14:49:30 2010
@@ -1508,6 +1508,7 @@
s->session->sess_cert->peer_ecdh_tmp=ecdh;
ecdh=NULL;
BN_CTX_free(bn_ctx);
+ bn_ctx = NULL;
EC_POINT_free(srvr_ecpoint);
srvr_ecpoint = NULL;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment