Loading CHANGES +7 −4 Original line number Original line Diff line number Diff line Loading @@ -28,10 +28,13 @@ session resumption is possible only in the first handshake. session resumption is possible only in the first handshake. [Bodo Moeller] [Bodo Moeller] *) Fix ssl3_accept (ssl/s3_srvr.c): Do not call ssl_init_wbio_buffer() *) Bugfix in ssl3_accept (ssl/s3_srvr.c): Case SSL3_ST_SW_HELLO_REQ_C when just sending a HelloRequest as this could interfere with should end in 'break', not 'goto end' which circuments various application data writes (and is totally unnecessary). cleanups. [Bodo Moeller; bug pointed out by Eric Rescorla <ekr@rtfm.com>] Also avoid some overhead by not calling ssl_init_wbio_buffer() before just sending a HelloRequest. [Bodo Moeller] *) Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't *) Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't reveal whether illegal block cipher padding was found or a MAC reveal whether illegal block cipher padding was found or a MAC Loading ssl/s3_srvr.c +1 −3 Original line number Original line Diff line number Diff line Loading @@ -273,9 +273,7 @@ int ssl3_accept(SSL *s) case SSL3_ST_SW_HELLO_REQ_C: case SSL3_ST_SW_HELLO_REQ_C: s->state=SSL_ST_OK; s->state=SSL_ST_OK; ret=1; break; goto end; /* break; */ case SSL3_ST_SR_CLNT_HELLO_A: case SSL3_ST_SR_CLNT_HELLO_A: case SSL3_ST_SR_CLNT_HELLO_B: case SSL3_ST_SR_CLNT_HELLO_B: Loading Loading
CHANGES +7 −4 Original line number Original line Diff line number Diff line Loading @@ -28,10 +28,13 @@ session resumption is possible only in the first handshake. session resumption is possible only in the first handshake. [Bodo Moeller] [Bodo Moeller] *) Fix ssl3_accept (ssl/s3_srvr.c): Do not call ssl_init_wbio_buffer() *) Bugfix in ssl3_accept (ssl/s3_srvr.c): Case SSL3_ST_SW_HELLO_REQ_C when just sending a HelloRequest as this could interfere with should end in 'break', not 'goto end' which circuments various application data writes (and is totally unnecessary). cleanups. [Bodo Moeller; bug pointed out by Eric Rescorla <ekr@rtfm.com>] Also avoid some overhead by not calling ssl_init_wbio_buffer() before just sending a HelloRequest. [Bodo Moeller] *) Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't *) Fix ssl/s3_enc.c, ssl/t1_enc.c and ssl/s3_pkt.c so that we don't reveal whether illegal block cipher padding was found or a MAC reveal whether illegal block cipher padding was found or a MAC Loading
ssl/s3_srvr.c +1 −3 Original line number Original line Diff line number Diff line Loading @@ -273,9 +273,7 @@ int ssl3_accept(SSL *s) case SSL3_ST_SW_HELLO_REQ_C: case SSL3_ST_SW_HELLO_REQ_C: s->state=SSL_ST_OK; s->state=SSL_ST_OK; ret=1; break; goto end; /* break; */ case SSL3_ST_SR_CLNT_HELLO_A: case SSL3_ST_SR_CLNT_HELLO_A: case SSL3_ST_SR_CLNT_HELLO_B: case SSL3_ST_SR_CLNT_HELLO_B: Loading