diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 5908bb94f805708249914cf312b75351bfcc5a33..f2bfb15a5a8ee3a4f72f16ac1c0ae5c6b5f5d091 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -1431,7 +1431,7 @@ int ssl3_read(SSL *s, void *buf, int len) int ssl3_peek(SSL *s, char *buf, int len) { - return ssl3_read_internal(s, buf, len, 0); + return ssl3_read_internal(s, buf, len, 1); } int ssl3_renegotiate(SSL *s)