diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-06 17:06:38 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:15 +0000 |
| commit | 9ed3649c70ce2dec90f502ec09d13475ee09feb3 (patch) | |
| tree | ac3363c4b845373153537842edc4c3a8fbdf2bfc /testing/prayer/libressl.patch | |
| parent | 9d88ce130db0c33108802cd61cb032cc26cec440 (diff) | |
| download | aports-9ed3649c70ce2dec90f502ec09d13475ee09feb3.tar.bz2 aports-9ed3649c70ce2dec90f502ec09d13475ee09feb3.tar.xz | |
unmaintained/preayer: moved from testing
appears to be dead upstream
Diffstat (limited to 'testing/prayer/libressl.patch')
| -rw-r--r-- | testing/prayer/libressl.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testing/prayer/libressl.patch b/testing/prayer/libressl.patch deleted file mode 100644 index 495b556143..0000000000 --- a/testing/prayer/libressl.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff --git a/lib/os.c b/lib/os.c -index fa53e04..a1408ed 100644 ---- a/lib/os.c -+++ b/lib/os.c -@@ -543,6 +543,7 @@ BOOL os_random(struct ssl_config * ssl_config, void *buffer, unsigned long count - { - int fd; - -+#ifndef OPENSSL_NO_EGD - if (ssl_config->egd_socket) { - if ((fd = os_connect_unix_socket(ssl_config->egd_socket)) < 0) - return (NIL); -@@ -564,6 +565,7 @@ BOOL os_random(struct ssl_config * ssl_config, void *buffer, unsigned long count - close(fd); - return (T); - } -+#endif - - if ((fd = open("/dev/urandom", O_RDONLY)) < 0) - return (NIL); -diff --git a/lib/ssl.c b/lib/ssl.c -index 0e652c8..34b7167 100644 ---- a/lib/ssl.c -+++ b/lib/ssl.c -@@ -78,6 +78,7 @@ static void os_initialize_prng(struct ssl_config *ssl_config) - int totbytes = 0; - int bytes; - -+#ifndef OPENSSL_NO_EGD - if (ssl_config->egd_socket) { - if ((bytes = RAND_egd(ssl_config->egd_socket)) == -1) { - log_fatal("EGD Socket %s failed", ssl_config->egd_socket); -@@ -88,6 +89,7 @@ static void os_initialize_prng(struct ssl_config *ssl_config) - goto SEEDED; /* ditto */ - } - } -+#endif - - /* Try the good-old default /dev/urandom, if available */ - totbytes += add_rand_file("/dev/urandom"); |
