diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/s3_clnt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index ecd0f9e886..0600e7519e 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_clnt.c,v 1.173 2017/01/24 15:04:12 jsing Exp $ */ | 1 | /* $OpenBSD: s3_clnt.c,v 1.174 2017/01/24 15:11:55 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -520,10 +520,8 @@ ssl3_connect(SSL *s) | |||
| 520 | /* clean a few things up */ | 520 | /* clean a few things up */ |
| 521 | tls1_cleanup_key_block(s); | 521 | tls1_cleanup_key_block(s); |
| 522 | 522 | ||
| 523 | if (s->internal->init_buf != NULL) { | 523 | BUF_MEM_free(s->internal->init_buf); |
| 524 | BUF_MEM_free(s->internal->init_buf); | 524 | s->internal->init_buf = NULL; |
| 525 | s->internal->init_buf = NULL; | ||
| 526 | } | ||
| 527 | 525 | ||
| 528 | /* | 526 | /* |
| 529 | * If we are not 'joining' the last two packets, | 527 | * If we are not 'joining' the last two packets, |
