From 05d6e4b62f48eacbfc3fb91b1e10c0056a1655e0 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 31 Mar 2021 16:52:15 +0000 Subject: [PATCH] Expose SSL_use_certificate_chain_file(3) ok bcook inoguchi jsing --- lib/libssl/Symbols.list | 1 + 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); -- 2.20.1