diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/src/ssl/s3_enc.c | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/libssl/src/ssl/s3_enc.c b/src/lib/libssl/src/ssl/s3_enc.c index aa729860fe..f3c641849a 100644 --- a/src/lib/libssl/src/ssl/s3_enc.c +++ b/src/lib/libssl/src/ssl/s3_enc.c  | |||
| @@ -251,7 +251,9 @@ ssl3_change_cipher_state(SSL *s, int which) | |||
| 251 | } | 251 | } | 
| 252 | dd = s->enc_read_ctx; | 252 | dd = s->enc_read_ctx; | 
| 253 | 253 | ||
| 254 | ssl_replace_hash(&s->read_hash, m); | 254 | if (ssl_replace_hash(&s->read_hash, m) == NULL) | 
| 255 | goto err; | ||
| 256 | |||
| 255 | #ifndef OPENSSL_NO_COMP | 257 | #ifndef OPENSSL_NO_COMP | 
| 256 | /* COMPRESS */ | 258 | /* COMPRESS */ | 
| 257 | if (s->expand != NULL) { | 259 | if (s->expand != NULL) { | 
| @@ -282,7 +284,9 @@ ssl3_change_cipher_state(SSL *s, int which) | |||
| 282 | EVP_CIPHER_CTX_init(s->enc_write_ctx); | 284 | EVP_CIPHER_CTX_init(s->enc_write_ctx); | 
| 283 | } | 285 | } | 
| 284 | dd = s->enc_write_ctx; | 286 | dd = s->enc_write_ctx; | 
| 285 | ssl_replace_hash(&s->write_hash, m); | 287 | if (ssl_replace_hash(&s->write_hash, m) == NULL) | 
| 288 | goto err; | ||
| 289 | |||
| 286 | #ifndef OPENSSL_NO_COMP | 290 | #ifndef OPENSSL_NO_COMP | 
| 287 | /* COMPRESS */ | 291 | /* COMPRESS */ | 
| 288 | if (s->compress != NULL) { | 292 | if (s->compress != NULL) { | 
