X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fssl_lib.c;h=803894c44f968b82e22e4dfd9592256db913c588;hp=2e85a560fe0013378df6df90b82219369cb6dd02;hb=6343829a391df59e46e513c84b6264ee71ad9518;hpb=2401debe83e8df930907a39065ebf9a54354f123 diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 2e85a560fe..803894c44f 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -432,7 +432,7 @@ int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb) } int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, - size_t id_len) + unsigned int id_len) { /* A quick examination of SSL_SESSION_hash and SSL_SESSION_cmp shows how * we can "construct" a session to give us the desired check - ie. to