summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_clnt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index 607b038825..f5b8802a69 100644
--- a/src/lib/libssl/ssl_clnt.c
+++ b/src/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_clnt.c,v 1.141 2022/02/05 14:54:10 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.142 2022/06/06 13:18:34 tb 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 *
@@ -1647,8 +1647,7 @@ ssl3_get_new_session_ticket(SSL *s)
1647 * 1647 *
1648 * We choose the former approach because this fits in with 1648 * We choose the former approach because this fits in with
1649 * assumptions elsewhere in OpenSSL. The session ID is set 1649 * assumptions elsewhere in OpenSSL. The session ID is set
1650 * to the SHA256 (or SHA1 is SHA256 is disabled) hash of the 1650 * to the SHA256 hash of the ticket.
1651 * ticket.
1652 */ 1651 */
1653 EVP_Digest(CBS_data(&session_ticket), CBS_len(&session_ticket), 1652 EVP_Digest(CBS_data(&session_ticket), CBS_len(&session_ticket),
1654 s->session->session_id, &s->session->session_id_length, 1653 s->session->session_id, &s->session->session_id_length,