wok-stable rev 6192

Up: openssl, openssl-dev, libssl, libcrypto, libcrypto-dev to 1.0.0a.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 10 21:40:48 2010 +0000 (2010-09-10)
parents eb7d8ec19f8a
children 09b1147415d1
files libcrypto-dev/receipt libcrypto/receipt libssl/receipt openssl-dev/receipt openssl/receipt openssl/stuff/fix-double-free.patch
line diff
     1.1 --- a/libcrypto-dev/receipt	Fri Sep 10 21:00:06 2010 +0000
     1.2 +++ b/libcrypto-dev/receipt	Fri Sep 10 21:40:48 2010 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libcrypto-dev"
     1.7 -VERSION="1.0.0"
     1.8 +VERSION="1.0.0a"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="General purpose cryptographic shared library devel files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
     2.1 --- a/libcrypto/receipt	Fri Sep 10 21:00:06 2010 +0000
     2.2 +++ b/libcrypto/receipt	Fri Sep 10 21:40:48 2010 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libcrypto"
     2.7 -VERSION="1.0.0"
     2.8 +VERSION="1.0.0a"
     2.9  CATEGORY="security"
    2.10  SHORT_DESC="General purpose cryptographic shared library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
     3.1 --- a/libssl/receipt	Fri Sep 10 21:00:06 2010 +0000
     3.2 +++ b/libssl/receipt	Fri Sep 10 21:40:48 2010 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="libssl"
     3.7 -VERSION="1.0.0"
     3.8 +VERSION="1.0.0a"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="OpenSSL libraries."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
     4.1 --- a/openssl-dev/receipt	Fri Sep 10 21:00:06 2010 +0000
     4.2 +++ b/openssl-dev/receipt	Fri Sep 10 21:40:48 2010 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="openssl-dev"
     4.7 -VERSION="1.0.0"
     4.8 +VERSION="1.0.0a"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="Open source Secure Sockets Layer devel files."
    4.11  MAINTAINER="pascal.bellard@slitaz.org"
     5.1 --- a/openssl/receipt	Fri Sep 10 21:00:06 2010 +0000
     5.2 +++ b/openssl/receipt	Fri Sep 10 21:40:48 2010 +0000
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="openssl"
     5.7 -VERSION="1.0.0"
     5.8 +VERSION="1.0.0a"
     5.9  CATEGORY="security"
    5.10  SHORT_DESC="Open source Secure Sockets Layer."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12 @@ -16,6 +16,11 @@
    5.13  compile_rules()
    5.14  {
    5.15  	cd $src
    5.16 +
    5.17 +	# fix double free
    5.18 +	# see http://marc.info/?l=openssl-dev&m=128118163216952&w=2
    5.19 +	# and http://marc.info/?l=openssl-dev&m=128128256314328&w=2
    5.20 +	patch -p0 -i ../stuff/fix-double-free.patch
    5.21  	./config --prefix=/usr --openssldir=/etc/ssl shared
    5.22  	sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
    5.23  	make &&
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/openssl/stuff/fix-double-free.patch	Fri Sep 10 21:40:48 2010 +0000
     6.3 @@ -0,0 +1,10 @@
     6.4 +--- ssl/s3_clnt.c.orig	Sun Feb 28 01:24:24 2010
     6.5 ++++ ssl/s3_clnt.c	Sun Aug  8 14:49:30 2010
     6.6 +@@ -1508,6 +1508,7 @@
     6.7 + 		s->session->sess_cert->peer_ecdh_tmp=ecdh;
     6.8 + 		ecdh=NULL;
     6.9 + 		BN_CTX_free(bn_ctx);
    6.10 ++		bn_ctx = NULL;
    6.11 + 		EC_POINT_free(srvr_ecpoint);
    6.12 + 		srvr_ecpoint = NULL;
    6.13 + 		}