w3m: libressl build fix.

This commit is contained in:
Juan RP 2014-07-14 12:33:04 +02:00
parent 67358807ea
commit a0e5ff6718

View file

@ -0,0 +1,11 @@
--- url.c.orig 2014-07-14 12:31:30.476563116 +0200
+++ url.c 2014-07-14 12:32:16.364918248 +0200
@@ -268,7 +268,7 @@ init_PRNG()
if (RAND_status())
return;
if ((file = RAND_file_name(buffer, sizeof(buffer)))) {
-#ifdef USE_EGD
+#if defined(USE_EGD) && defined(HAVE_SSL_RAND_EGD)
if (RAND_egd(file) > 0)
return;
#endif