# HG changeset patch # User Christopher Rogers # Date 1284154848 0 # Node ID 2ea5d6f17cd8222572bd81784ab0404669c4727c # Parent eb7d8ec19f8a2ff314e76e4dad4ba8f201b32edc Up: openssl, openssl-dev, libssl, libcrypto, libcrypto-dev to 1.0.0a. diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 libcrypto-dev/receipt --- a/libcrypto-dev/receipt Fri Sep 10 21:00:06 2010 +0000 +++ b/libcrypto-dev/receipt Fri Sep 10 21:40:48 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libcrypto-dev" -VERSION="1.0.0" +VERSION="1.0.0a" CATEGORY="development" SHORT_DESC="General purpose cryptographic shared library devel files." MAINTAINER="pascal.bellard@slitaz.org" diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 libcrypto/receipt --- a/libcrypto/receipt Fri Sep 10 21:00:06 2010 +0000 +++ b/libcrypto/receipt Fri Sep 10 21:40:48 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libcrypto" -VERSION="1.0.0" +VERSION="1.0.0a" CATEGORY="security" SHORT_DESC="General purpose cryptographic shared library." MAINTAINER="pascal.bellard@slitaz.org" diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 libssl/receipt --- a/libssl/receipt Fri Sep 10 21:00:06 2010 +0000 +++ b/libssl/receipt Fri Sep 10 21:40:48 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="libssl" -VERSION="1.0.0" +VERSION="1.0.0a" CATEGORY="development" SHORT_DESC="OpenSSL libraries." MAINTAINER="pascal.bellard@slitaz.org" diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 openssl-dev/receipt --- a/openssl-dev/receipt Fri Sep 10 21:00:06 2010 +0000 +++ b/openssl-dev/receipt Fri Sep 10 21:40:48 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="openssl-dev" -VERSION="1.0.0" +VERSION="1.0.0a" CATEGORY="development" SHORT_DESC="Open source Secure Sockets Layer devel files." MAINTAINER="pascal.bellard@slitaz.org" diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 openssl/receipt --- a/openssl/receipt Fri Sep 10 21:00:06 2010 +0000 +++ b/openssl/receipt Fri Sep 10 21:40:48 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="openssl" -VERSION="1.0.0" +VERSION="1.0.0a" CATEGORY="security" SHORT_DESC="Open source Secure Sockets Layer." MAINTAINER="pascal.bellard@slitaz.org" @@ -16,6 +16,11 @@ compile_rules() { cd $src + + # 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 ../stuff/fix-double-free.patch ./config --prefix=/usr --openssldir=/etc/ssl shared sed -i 's/\(basename .*\)`/\1 || true `/' Makefile make && diff -r eb7d8ec19f8a -r 2ea5d6f17cd8 openssl/stuff/fix-double-free.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openssl/stuff/fix-double-free.patch Fri Sep 10 21:40:48 2010 +0000 @@ -0,0 +1,10 @@ +--- 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; + }