summaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-10-04 21:14:24 +0100
committerMatt Caswell <matt@openssl.org>2016-11-04 12:09:45 +0000
commit6db6bc5a8f0663e679a99ea91a6f490db0f183ba (patch)
treeaa2b757fae926c28e7ac3739f69ee7186d3446bd /ssl/s3_lib.c
parentcb150cbcaca651a5b32fc1f1fc94ca61285c3515 (diff)
Convert some libssl local functions to size_t
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 44a6ab8f39..ca27e9908d 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -3941,7 +3941,7 @@ long ssl_get_algorithm2(SSL *s)
* Fill a ClientRandom or ServerRandom field of length len. Returns <= 0 on
* failure, 1 on success.
*/
-int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, int len)
+int ssl_fill_hello_random(SSL *s, int server, unsigned char *result, size_t len)
{
int send_time = 0;