Fix corrupted win7.patch format for BoringSSL update

This commit is contained in:
Matt Hess
2026-01-13 01:28:12 +00:00
parent 11a5d3ff94
commit a967161de8

View File

@@ -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;