From efcbc859d153bd2908ab9c32fb042c03eb84d265 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Fri, 10 Mar 2017 16:03:27 +0000 Subject: 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@ --- src/lib/libssl/s3_lib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/libssl/s3_lib.c') diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c index d6bf6a4574..8d45e1f8c1 100644 --- a/src/lib/libssl/s3_lib.c +++ b/src/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); -- cgit v1.2.3-55-g6feb