diff options
author | Steve Holme <steve_holme@hotmail.com> | 2020-02-19 07:46:22 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2020-02-20 15:27:32 +0000 |
commit | 150f45e8d1cce189a5b0b963243a8563d3d14b8e (patch) | |
tree | 557a919688559aca17d5cd2437d5481f9a354cb9 /lib/config-win32.h | |
parent | 1b6cfb9d24cdcb822996bc23e2eb5a4cea73ec4e (diff) | |
download | curl-150f45e8d1cce189a5b0b963243a8563d3d14b8e.tar.gz |
win32: USE_WIN32_CRYPTO to enable Win32 based MD4, MD5 and SHA256 functions
Whilst lib\md4.c used this pre-processor, lib\md5.c and
src\tool_metalink.c did not and simply relied on the WIN32
pre-processor directive.
Reviewed-by: Marcel Raad
Closes #4955
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 1dcce0db4..8b488c1c1 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -714,7 +714,9 @@ Vista #endif /* Define to use the Windows crypto library. */ +#if !defined(CURL_WINDOWS_APP) #define USE_WIN32_CRYPTO +#endif /* Define to use Unix sockets. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) |