This commit is contained in:
sthen 2014-04-19 15:57:17 +00:00
parent d51e1dff07
commit c35fff87c1

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-openssl_c,v 1.1 2014/04/19 15:57:17 sthen Exp $
--- openssl.c.orig Sat Apr 19 16:51:05 2014
+++ openssl.c Sat Apr 19 16:51:50 2014
@@ -123,14 +123,7 @@ ssl_rand_init(void)
char *cp, *x;
int state = 0;
- if ((cp = value("ssl-rand-egd")) != NULL) {
- if ((x = file_expand(cp)) == NULL || RAND_egd(cp = x) == -1)
- fprintf(stderr, tr(245,
- "entropy daemon at \"%s\" not available\n"),
- cp);
- else
- state = 1;
- } else if ((cp = value("ssl-rand-file")) != NULL) {
+ if ((cp = value("ssl-rand-file")) != NULL) {
if ((x = file_expand(cp)) == NULL ||
RAND_load_file(cp = x, 1024) == -1)
fprintf(stderr, tr(246,