aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ssluse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index 75ed134c5..35b0d382a 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -237,11 +237,6 @@ static int ossl_seed(struct SessionHandle *data)
/* If we get here, it means we need to seed the PRNG using a "silly"
approach! */
-#ifdef HAVE_RAND_SCREEN
- /* if RAND_screen() is present, this is windows and thus we assume that the
- randomness is already taken care of */
- nread = 100; /* just a value */
-#else
{
int len;
char *area;
@@ -263,7 +258,6 @@ static int ossl_seed(struct SessionHandle *data)
free(area); /* now remove the random junk */
} while(!RAND_status());
}
-#endif
/* generates a default path for the random seed file */
buf[0]=0; /* blank it first */