]> granicus.if.org Git - curl/commitdiff
Fix now broken libmetalink-aware OpenSSL build.
authorGuenter Knauf <lists@gknw.net>
Fri, 12 Oct 2012 23:03:34 +0000 (01:03 +0200)
committerGuenter Knauf <lists@gknw.net>
Fri, 12 Oct 2012 23:03:34 +0000 (01:03 +0200)
src/tool_metalink.c

index 103c88649d9fd14fffa9a34d4686950fa15447c1..cafa63fdfb9e81c8c8e59914d0c5c1b6f423b1f8 100644 (file)
@@ -219,7 +219,7 @@ static void SHA256_Final(unsigned char digest[32], SHA256_CTX *ctx)
   gcry_md_close(*ctx);
 }
 
-#elif defined(_WIN32)
+#elif defined(_WIN32) && !defined(USE_SSLEAY)
 
 static void win32_crypto_final(struct win32_crypto_hash *ctx,
                                unsigned char *digest,