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

16 lines
535 B
Diff

--- src/tcp.c 2014-07-26 17:30:51.582554891 +0200
+++ src/tcp.c 2014-07-26 17:31:07.547555086 +0200
@@ -436,12 +436,6 @@
ssl_init(void)
{
/* I don't understand any of this. */
- char f_randfile[ABSPATH];
- if(RAND_egd(RAND_file_name(f_randfile, sizeof (f_randfile))) < 0) {
- /* Not an EGD, so read and write to it */
- if(RAND_load_file(f_randfile, -1))
- RAND_write_file(f_randfile);
- }
SSLeay_add_ssl_algorithms();
sslcx = SSL_CTX_new(SSLv23_client_method());
SSL_CTX_set_options(sslcx, SSL_OP_ALL);