meta-openembedded/recipes-connectivity/openssl/openssl-1.0.0a/openssl-fix-ssl3_get_key_exchange-double-free.patch
Koen Kooi 17402fbba1 angstrom-layers: meta-openembedded: add openssl recipe from OE into recipes-connectivity
Added BBCLASSEXTEND = "native nativesdk" and removed -native recipe

Signed-off-by: Koen Kooi <k-kooi@ti.com>
2010-11-03 09:23:32 +01:00

13 lines
432 B
Diff

Index: openssl-1.0.0a/ssl/s3_clnt.c
===================================================================
--- openssl-1.0.0a.orig/ssl/s3_clnt.c 2010-09-13 18:38:01.000000000 +0400
+++ openssl-1.0.0a/ssl/s3_clnt.c 2010-09-13 18:38:35.000000000 +0400
@@ -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;
}