aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-third__party_unrar_src_crypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-third__party_unrar_src_crypt.cpp')
-rw-r--r--devel/electron33/files/patch-third__party_unrar_src_crypt.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/devel/electron33/files/patch-third__party_unrar_src_crypt.cpp b/devel/electron33/files/patch-third__party_unrar_src_crypt.cpp
deleted file mode 100644
index 3ce2532bda1f..000000000000
--- a/devel/electron33/files/patch-third__party_unrar_src_crypt.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- third_party/unrar/src/crypt.cpp.orig 2024-08-14 20:56:02 UTC
-+++ third_party/unrar/src/crypt.cpp
-@@ -116,6 +116,8 @@ void GetRnd(byte *RndBuf,size_t BufSize)
- Success=CryptGenRandom(hProvider, (DWORD)BufSize, RndBuf) != FALSE;
- CryptReleaseContext(hProvider, 0);
- }
-+#elif defined(__OpenBSD__)
-+ arc4random_buf(RndBuf, BufSize);
- #elif defined(_UNIX)
- FILE *rndf = fopen("/dev/urandom", "r");
- if (rndf!=NULL)