diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2021-12-14 18:30:54 +0000 | 
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2021-12-14 18:30:54 +0000 | 
| commit | 56eae1b760adf10835560a9ee595549a1f10410f (patch) | |
| tree | 3669bea49de5b47517bb53f6d62d7359df20d3a6 /ssl/statem/statem_lib.c | |
| parent | c1d1798abd60f12527b70443cb7d0b9cd78ef7b1 (diff) | |
Diffstat (limited to 'ssl/statem/statem_lib.c')
| -rw-r--r-- | ssl/statem/statem_lib.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c index c3b6f8f4569a..695caab3d628 100644 --- a/ssl/statem/statem_lib.c +++ b/ssl/statem/statem_lib.c @@ -1,5 +1,5 @@  /* - * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.   * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved   *   * Licensed under the OpenSSL license (the "License").  You may not use @@ -2410,6 +2410,8 @@ int tls13_save_handshake_digest_for_pha(SSL *s)              SSLfatal(s, SSL_AD_INTERNAL_ERROR,                       SSL_F_TLS13_SAVE_HANDSHAKE_DIGEST_FOR_PHA,                       ERR_R_INTERNAL_ERROR); +            EVP_MD_CTX_free(s->pha_dgst); +            s->pha_dgst = NULL;              return 0;          }      } | 
