summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-08-12 21:01:00 +0000
committertb <>2024-08-12 21:01:00 +0000
commit3e5ebe7066b92ebfff64a7c2e9230cc0d3821e2d (patch)
treefdfd91445f341d394d5290651dc9d96a24c7efdf
parent9abaf3d27d3599f76acdc701168ea9755221147c (diff)
downloadopenbsd-3e5ebe7066b92ebfff64a7c2e9230cc0d3821e2d.tar.gz
openbsd-3e5ebe7066b92ebfff64a7c2e9230cc0d3821e2d.tar.bz2
openbsd-3e5ebe7066b92ebfff64a7c2e9230cc0d3821e2d.zip
Expose SSL_CTX_set1_cert_store() and SSL_CIPHER_get_handshake_digest()
-rw-r--r--src/lib/libssl/ssl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 7f9db94066..1a0fca1678 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.240 2024/08/03 04:50:27 tb Exp $ */ 1/* $OpenBSD: ssl.h,v 1.241 2024/08/12 21:01:00 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 *
@@ -1107,9 +1107,7 @@ long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
1107long SSL_CTX_get_timeout(const SSL_CTX *ctx); 1107long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1108X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *); 1108X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1109void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *); 1109void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *);
1110#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
1111void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store); 1110void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store);
1112#endif
1113X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx); 1111X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
1114EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx); 1112EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx);
1115int SSL_want(const SSL *s); 1113int SSL_want(const SSL *s);
@@ -1128,9 +1126,7 @@ int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c);
1128int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); 1126int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c);
1129int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); 1127int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c);
1130int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); 1128int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c);
1131#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
1132const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c); 1129const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c);
1133#endif
1134int SSL_CIPHER_is_aead(const SSL_CIPHER *c); 1130int SSL_CIPHER_is_aead(const SSL_CIPHER *c);
1135 1131
1136int SSL_get_fd(const SSL *s); 1132int SSL_get_fd(const SSL *s);