summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-08-12 21:01:01 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-08-12 21:01:01 +0000
commita395b0ee77bd6be1857276bed324b826b5ea94ec (patch)
treea07d94a7280b3be0b5d1d3ef783ec0b6c48539b7 /lib
parentd5b898e63be96147636732952bd9a4e7e929597a (diff)
Expose SSL_CTX_set1_cert_store() and SSL_CIPHER_get_handshake_digest()
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 7f9db94066e..1a0fca16787 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.240 2024/08/03 04:50:27 tb Exp $ */
+/* $OpenBSD: ssl.h,v 1.241 2024/08/12 21:01:00 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1107,9 +1107,7 @@ long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
long SSL_CTX_get_timeout(const SSL_CTX *ctx);
X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *);
-#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store);
-#endif
X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx);
int SSL_want(const SSL *s);
@@ -1128,9 +1126,7 @@ int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c);
int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c);
int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c);
int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c);
-#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c);
-#endif
int SSL_CIPHER_is_aead(const SSL_CIPHER *c);
int SSL_get_fd(const SSL *s);