From 8fe46a5cf832721c3f3cd8864c2f132346b7b198 Mon Sep 17 00:00:00 2001 From: Matt Hess Date: Fri, 20 Feb 2026 02:48:52 +0000 Subject: [PATCH] Fix corrupt patch: add leading space to blank context lines in win7.patch --- patches/boringssl/win7.patch | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/patches/boringssl/win7.patch b/patches/boringssl/win7.patch index 30f89bb..1c93ce6 100644 --- a/patches/boringssl/win7.patch +++ b/patches/boringssl/win7.patch @@ -2,12 +2,12 @@ +++ b/crypto/rand/windows.cc @@ -23,6 +23,7 @@ #include - + #include +#include - + using namespace bssl; - + @@ -59,14 +59,38 @@ // See: https://learn.microsoft.com/en-us/windows/win32/seccng/processprng typedef BOOL(WINAPI *ProcessPrngFunction)(PBYTE pbData, SIZE_T cbData); @@ -18,7 +18,7 @@ +{ + return CryptGenRandom(g_hCryptProv, cbData, pbData); +} - + static void init_processprng() { HMODULE hmod = LoadLibraryW(L"bcryptprimitives"); - if (hmod == nullptr) { @@ -53,3 +53,5 @@ + + abort(); } + + \ No newline at end of file