X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fstatem%2Fstatem_srvr.c;h=a243161e3ad0698783300633fa0014dcf194c5e0;hp=009d06c811a67dfb998d995f4ff4f64adabe7209;hb=eda757514ea3018c8510b4738b5e37479aeadc5e;hpb=8e6d03cac4c34dc089751f36120b69c512f77756 diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index 009d06c811..a243161e3a 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -717,7 +717,7 @@ int ossl_statem_server_construct_message(SSL *s, WPACKET *pkt, * Returns the maximum allowed length for the current message that we are * reading. Excludes the message header. */ -unsigned long ossl_statem_server_max_message_size(SSL *s) +size_t ossl_statem_server_max_message_size(SSL *s) { OSSL_STATEM *st = &s->statem;