X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=ssl%2Fs2_lib.c;fp=ssl%2Fs2_lib.c;h=b89b83f4f8593809e220f4ea6d8f82b4912147f2;hp=075e49dc8379ffe92e5203dd68845770761c9d70;hb=0821bcd4de85b527281714dd6c4d9683f0e713c4;hpb=4a6a2032edde65f180a794665adf82c0cc4cd9d1 diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index 075e49dc83..b89b83f4f8 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -262,7 +262,7 @@ SSL_CIPHER *ssl2_get_cipher(unsigned int u) return(NULL); } -int ssl2_pending(SSL *s) +int ssl2_pending(const SSL *s) { return SSL_in_init(s) ? 0 : s->s2->ract_data_length; }