diff --git a/patches/boringssl/win7.patch b/patches/boringssl/win7.patch index 711bb7b..9fa6205 100644 --- a/patches/boringssl/win7.patch +++ b/patches/boringssl/win7.patch @@ -1,5 +1,3 @@ -diff --git a/crypto/rand/windows.cc b/crypto/rand/windows.cc -index 1234567..abcdefg 100644 --- a/crypto/rand/windows.cc +++ b/crypto/rand/windows.cc @@ -24,6 +24,7 @@ @@ -10,7 +8,7 @@ index 1234567..abcdefg 100644 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && \ !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) -@@ -55,16 +56,40 @@ void CRYPTO_sysrand(uint8_t *out, size_t requested) { +@@ -57,16 +58,40 @@ // See: https://learn.microsoft.com/en-us/windows/win32/seccng/processprng typedef BOOL (WINAPI *ProcessPrngFunction)(PBYTE pbData, SIZE_T cbData); static ProcessPrngFunction g_processprng_fn = nullptr;