void-packages/srcpkgs/wget/patches/wget-libressl.patch

16 lines
429 B
Diff
Raw Normal View History

2014-07-14 12:51:37 +02:00
$OpenBSD: patch-src_openssl_c,v 1.7 2014/04/19 12:14:15 sthen Exp $
--- src/openssl.c Sat Apr 19 06:12:48 2014
+++ src/openssl.c Sat Apr 19 06:13:18 2014
@@ -86,9 +86,11 @@ init_prng (void)
if (RAND_status ())
return;
+#ifdef HAVE_SSL_RAND_EGD
/* Get random data from EGD if opt.egd_file was used. */
if (opt.egd_file && *opt.egd_file)
RAND_egd (opt.egd_file);
+#endif
if (RAND_status ())
return;