summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authortb <>2024-07-14 15:39:36 +0000
committertb <>2024-07-14 15:39:36 +0000
commitf3b35d1af02c3bc250276acd62a2434d3b80d349 (patch)
treeb0f8e29dbb39c011b65adc36293b16c4cd32aed7 /src/lib/libssl/ssl.h
parent3006ff83f98c4783ee71689e5e63047b95dc7bca (diff)
downloadopenbsd-f3b35d1af02c3bc250276acd62a2434d3b80d349.tar.gz
openbsd-f3b35d1af02c3bc250276acd62a2434d3b80d349.tar.bz2
openbsd-f3b35d1af02c3bc250276acd62a2434d3b80d349.zip
Prepare to provide SSL_CIPHER_get_handshake_digest()
Needed by newer freeradius. This is a straightforward implementation that essentially duplicates tls13_cipher_hash(). ok jsing
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index e63312a123..d8846a4851 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.238 2024/07/13 18:33:18 tb Exp $ */ 1/* $OpenBSD: ssl.h,v 1.239 2024/07/14 15:39: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 *
@@ -1125,6 +1125,9 @@ int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c);
1125int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); 1125int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c);
1126int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); 1126int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c);
1127int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); 1127int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c);
1128#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
1129const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c);
1130#endif
1128int SSL_CIPHER_is_aead(const SSL_CIPHER *c); 1131int SSL_CIPHER_is_aead(const SSL_CIPHER *c);
1129 1132
1130int SSL_get_fd(const SSL *s); 1133int SSL_get_fd(const SSL *s);