Further libssl size_t-ify of reading
[openssl.git] / ssl / statem / statem_srvr.c
index 009d06c811a67dfb998d995f4ff4f64adabe7209..a243161e3ad0698783300633fa0014dcf194c5e0 100644 (file)
@@ -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;