diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-31 16:52:16 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-03-31 16:52:16 +0000 |
commit | 16424bddb5ce7412e8be18678a98a8f9ea9fe681 (patch) | |
tree | 6198e3f44961a13b2b03e88a2fea68b26b139b49 /lib | |
parent | de0bf64a427fab4953a631c474cd43f2523615ba (diff) |
Expose SSL_use_certificate_chain_file(3)
ok bcook inoguchi jsing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libssl/Symbols.list | 1 | ||||
-rw-r--r-- | lib/libssl/ssl.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libssl/Symbols.list b/lib/libssl/Symbols.list index e72616a7796..f857ecb2623 100644 --- a/lib/libssl/Symbols.list +++ b/lib/libssl/Symbols.list @@ -312,6 +312,7 @@ SSL_use_RSAPrivateKey_ASN1 SSL_use_RSAPrivateKey_file SSL_use_certificate SSL_use_certificate_ASN1 +SSL_use_certificate_chain_file SSL_use_certificate_file SSL_version SSL_version_str diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 36c9ef02bd0..81434640398 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.183 2021/03/19 19:51:07 tb Exp $ */ +/* $OpenBSD: ssl.h,v 1.184 2021/03/31 16:52:15 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1357,9 +1357,7 @@ int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len); int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); int SSL_use_certificate_file(SSL *ssl, const char *file, int type); -#if defined(LIBRESSL_INTERNAL) int SSL_use_certificate_chain_file(SSL *ssl, const char *file); -#endif int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); |