diff options
author | 2017-03-10 16:03:27 +0000 | |
---|---|---|
committer | 2017-03-10 16:03:27 +0000 | |
commit | cc372b7ac2aa2c6985aaf9a61c89b9aa29752436 (patch) | |
tree | 8e936bc996cdcb4e1ded09dbb92ec6be08f38bed /lib/libssl/s3_lib.c | |
parent | Switch CBB to use recallocarray() - this ensures that we do not leak (diff) | |
download | wireguard-openbsd-cc372b7ac2aa2c6985aaf9a61c89b9aa29752436.tar.xz wireguard-openbsd-cc372b7ac2aa2c6985aaf9a61c89b9aa29752436.zip |
Remove the handshake digests and related code, replacing remaining uses
with the handshake hash. For now tls1_digest_cached_records() is retained
to release the handshake buffer.
ok beck@ inoguchi@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r-- | lib/libssl/s3_lib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c index d6bf6a45746..8d45e1f8c17 100644 --- a/lib/libssl/s3_lib.c +++ b/lib/libssl/s3_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3_lib.c,v 1.137 2017/03/05 14:39:53 jsing Exp $ */ +/* $OpenBSD: s3_lib.c,v 1.138 2017/03/10 16:03:27 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1842,7 +1842,6 @@ ssl3_free(SSL *s) BIO_free(S3I(s)->handshake_buffer); - tls1_free_digest_list(s); tls1_handshake_hash_free(s); free(S3I(s)->alpn_selected); @@ -1884,7 +1883,6 @@ ssl3_clear(SSL *s) BIO_free(S3I(s)->handshake_buffer); S3I(s)->handshake_buffer = NULL; - tls1_free_digest_list(s); tls1_handshake_hash_free(s); free(S3I(s)->alpn_selected); |