aboutsummaryrefslogtreecommitdiffstats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-12-26 01:28:15 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-12-26 01:28:15 +0000
commitfd8ff03480d588c28b9424f2976beadbe7a55a35 (patch)
treea18e136f210bdde269d9e60f13d733bd6d254593 /WWW/Library
parent28f325f21ceede50416e3828e01072ae151551d6 (diff)
downloadlynx-snapshots-fd8ff03480d588c28b9424f2976beadbe7a55a35.tar.gz
snapshot of project "lynx", label v2-9-0dev_0a
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTTP.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c
index 41ab8499..4de00395 100644
--- a/WWW/Library/Implementation/HTTP.c
+++ b/WWW/Library/Implementation/HTTP.c
@@ -1,5 +1,5 @@
/*
- * $LynxId: HTTP.c,v 1.175 2018/05/04 20:07:43 Elliot.Thomas Exp $
+ * $LynxId: HTTP.c,v 1.176 2018/12/26 01:24:09 tom Exp $
*
* HyperText Tranfer Protocol - Client implementation HTTP.c
* ==========================
@@ -334,7 +334,7 @@ void HTSSLInitPRNG(void)
lynx_srand((unsigned) seed);
while (RAND_status() == 0) {
/* Repeatedly seed the PRNG using the system's random number generator until it has been seeded with enough data */
- l = lynx_rand();
+ l = (long) lynx_rand();
RAND_seed((unsigned char *) &l, (int) sizeof(long));
}
/* Write a rand_file */