Commit: e847e74438542ab9813cc25965d4c600e88effd8
Parent: ad08975353790afd7d8a7e977da860e84ac16729
Author: opask
Date: Fri, 24 Aug 2018 18:42:03 -0600
remove unused code in https.c
Diffstat:
1 file changed, 0 insertions(+), 12 deletions(-)
diff --git a/https.c b/https.c
@@ -54,18 +54,6 @@ links_ssl *getSSL(void)
links_ssl *ssl;
if (!ssl_initialized) {
memset(contexts, 0, sizeof contexts);
-
-#if defined(HAVE_RAND_EGD)
- {
- unsigned char f_randfile[PATH_MAX];
- const unsigned char *f = (const unsigned char *)RAND_file_name(cast_char f_randfile, sizeof(f_randfile));
- if (f && RAND_egd(cast_const_char f) < 0) {
- /* Not an EGD, so read and write to it */
- if (RAND_load_file(cast_const_char f_randfile, -1))
- RAND_write_file(cast_const_char f_randfile);
- }
- }
-#endif
OPENSSL_init_ssl(0, NULL);
ssl_initialized = 1;
}