summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/ssl_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c
index 593ed553d3..0d3dcf78af 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.168 2024/07/22 14:47:15 jsing Exp $ */ 1/* $OpenBSD: ssl_clnt.c,v 1.169 2025/03/09 15:53:36 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 *
@@ -926,7 +926,7 @@ ssl3_get_server_hello(SSL *s)
926 * pre-shared secret. 926 * pre-shared secret.
927 */ 927 */
928 if (s->tls_session_secret_cb != NULL) { 928 if (s->tls_session_secret_cb != NULL) {
929 SSL_CIPHER *pref_cipher = NULL; 929 const SSL_CIPHER *pref_cipher = NULL;
930 int master_key_length = sizeof(s->session->master_key); 930 int master_key_length = sizeof(s->session->master_key);
931 931
932 if (!s->tls_session_secret_cb(s, 932 if (!s->tls_session_secret_cb(s,