diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-03-06 15:19:29 -0800 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-03-06 15:19:29 -0800 |
commit | c799fa21db8d6bb34ce195ef41b5e3ddffc888ea (patch) | |
tree | 6ed55f8bc0625c5528e74d768017bab1e3815088 /cmake/SelectHashes.cmake | |
parent | 8164b4816230711f1aeb8e474011f496f3bfdb98 (diff) | |
download | libgit2-c799fa21db8d6bb34ce195ef41b5e3ddffc888ea.tar.gz |
schannelethomson/schannel
Diffstat (limited to 'cmake/SelectHashes.cmake')
-rw-r--r-- | cmake/SelectHashes.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/SelectHashes.cmake b/cmake/SelectHashes.cmake index faf9e2ea3..5c007e587 100644 --- a/cmake/SelectHashes.cmake +++ b/cmake/SelectHashes.cmake @@ -13,6 +13,8 @@ if(USE_SHA1 STREQUAL ON) elseif(USE_SHA1 STREQUAL "HTTPS") if(USE_HTTPS STREQUAL "SecureTransport") set(USE_SHA1 "CommonCrypto") + elseif(USE_HTTPS STREQUAL "Schannel") + set(USE_SHA1 "Win32") elseif(USE_HTTPS STREQUAL "WinHTTP") set(USE_SHA1 "Win32") elseif(USE_HTTPS) @@ -51,6 +53,8 @@ endif() if(USE_SHA256 STREQUAL "HTTPS") if(USE_HTTPS STREQUAL "SecureTransport") set(USE_SHA256 "CommonCrypto") + elseif(USE_HTTPS STREQUAL "Schannel") + set(USE_SHA256 "Win32") elseif(USE_HTTPS STREQUAL "WinHTTP") set(USE_SHA256 "Win32") elseif(USE_HTTPS) |