Document a change I'd already made, and at the same time, correct the
[openssl.git] / ssl / s23_srvr.c
index 442c95aa9b545a08d6769269b7a73375865b8680..c5404ca0bcd4c015f0273f38e22ef07bffb92585 100644 (file)
@@ -512,7 +512,7 @@ int ssl23_get_client_hello(SSL *s)
 
                if (s->s3 != NULL) ssl3_free(s);
 
-               if (!BUF_MEM_grow(s->init_buf,
+               if (!BUF_MEM_grow_clean(s->init_buf,
                        SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER))
                        {
                        goto err;