mingw-openssl/openssl-mingw64-dont-use-secure-getenv.patch
Erik van Pienbroek ec2806a386 Update to 1.0.1e (RHBZ #920868)
Synced patches with native openssl-1.0.1e-4.fc19
2013-03-24 20:50:27 +01:00

12 lines
483 B
Diff

--- openssl-1.0.1e/ssl/ssl_ciph.c.orig 2013-02-11 16:26:04.000000000 +0100
+++ openssl-1.0.1e/ssl/ssl_ciph.c 2013-03-24 20:39:53.425122737 +0100
@@ -455,7 +457,7 @@
MemCheck_off();
ssl_comp_methods=sk_SSL_COMP_new(sk_comp_cmp);
- if (ssl_comp_methods != NULL && secure_getenv("OPENSSL_DEFAULT_ZLIB") != NULL)
+ if (ssl_comp_methods != NULL && getenv("OPENSSL_DEFAULT_ZLIB") != NULL)
{
comp=(SSL_COMP *)OPENSSL_malloc(sizeof(SSL_COMP));
if (comp != NULL)