Blame SOURCES/openssl-mingw64-dont-use-secure-getenv.patch

aa8173
diff --git a/crypto/asn1/a_verify.c b/crypto/asn1/a_verify.c
aa8173
index 23271be..f57ca72 100644
aa8173
--- a/crypto/asn1/a_verify.c
aa8173
+++ b/crypto/asn1/a_verify.c
aa8173
@@ -143,7 +143,7 @@ static int is_md_legacy_disallowed(int mdnid)
aa8173
 {
aa8173
     int i;
aa8173
 
aa8173
-    if (mdnid == NID_md5 && secure_getenv("OPENSSL_ENABLE_MD5_VERIFY") != NULL)
aa8173
+    if (mdnid == NID_md5 && getenv("OPENSSL_ENABLE_MD5_VERIFY") != NULL)
aa8173
         return 0;
aa8173
 
aa8173
     for (i = 0; legacy_mds[i] != 0; ++i) {
aa8173
diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c
aa8173
index 732804f..8f845f7 100644
aa8173
--- a/ssl/ssl_ciph.c
aa8173
+++ b/ssl/ssl_ciph.c
aa8173
@@ -486,7 +486,7 @@ static void load_builtin_compressions(void)
aa8173
             MemCheck_off();
aa8173
             ssl_comp_methods = sk_SSL_COMP_new(sk_comp_cmp);
aa8173
             if (ssl_comp_methods != NULL
aa8173
-                && secure_getenv("OPENSSL_DEFAULT_ZLIB") != NULL) {
aa8173
+                && getenv("OPENSSL_DEFAULT_ZLIB") != NULL) {
aa8173
                 comp = (SSL_COMP *)OPENSSL_malloc(sizeof(SSL_COMP));
aa8173
                 if (comp != NULL) {
aa8173
                     comp->method = COMP_zlib();