summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index df02599739..c029b3716c 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.270 2021/10/23 13:36:03 jsing Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.271 2021/10/23 15:02:27 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 *
@@ -2709,21 +2709,7 @@ SSL_dup(SSL *s)
2709void 2709void
2710ssl_clear_cipher_state(SSL *s) 2710ssl_clear_cipher_state(SSL *s)
2711{ 2711{
2712 ssl_clear_cipher_read_state(s);
2713 ssl_clear_cipher_write_state(s);
2714}
2715
2716void
2717ssl_clear_cipher_read_state(SSL *s)
2718{
2719 tls12_record_layer_clear_read_state(s->internal->rl); 2712 tls12_record_layer_clear_read_state(s->internal->rl);
2720 tls12_record_layer_read_cipher_hash(s->internal->rl,
2721 &s->enc_read_ctx, &s->read_hash);
2722}
2723
2724void
2725ssl_clear_cipher_write_state(SSL *s)
2726{
2727 tls12_record_layer_clear_write_state(s->internal->rl); 2713 tls12_record_layer_clear_write_state(s->internal->rl);
2728} 2714}
2729 2715