diff options
author | tb <> | 2024-08-12 21:01:00 +0000 |
---|---|---|
committer | tb <> | 2024-08-12 21:01:00 +0000 |
commit | 3e5ebe7066b92ebfff64a7c2e9230cc0d3821e2d (patch) | |
tree | fdfd91445f341d394d5290651dc9d96a24c7efdf | |
parent | 9abaf3d27d3599f76acdc701168ea9755221147c (diff) | |
download | openbsd-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.h | 6 |
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); | |||
1107 | long SSL_CTX_get_timeout(const SSL_CTX *ctx); | 1107 | long SSL_CTX_get_timeout(const SSL_CTX *ctx); |
1108 | X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *); | 1108 | X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *); |
1109 | void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *); | 1109 | void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *); |
1110 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
1111 | void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store); | 1110 | void SSL_CTX_set1_cert_store(SSL_CTX *ctx, X509_STORE *store); |
1112 | #endif | ||
1113 | X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx); | 1111 | X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx); |
1114 | EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx); | 1112 | EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx); |
1115 | int SSL_want(const SSL *s); | 1113 | int SSL_want(const SSL *s); |
@@ -1128,9 +1126,7 @@ int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *c); | |||
1128 | int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); | 1126 | int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *c); |
1129 | int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); | 1127 | int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *c); |
1130 | int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); | 1128 | int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *c); |
1131 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
1132 | const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c); | 1129 | const EVP_MD *SSL_CIPHER_get_handshake_digest(const SSL_CIPHER *c); |
1133 | #endif | ||
1134 | int SSL_CIPHER_is_aead(const SSL_CIPHER *c); | 1130 | int SSL_CIPHER_is_aead(const SSL_CIPHER *c); |
1135 | 1131 | ||
1136 | int SSL_get_fd(const SSL *s); | 1132 | int SSL_get_fd(const SSL *s); |