summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
authortb <>2021-03-19 19:51:07 +0000
committertb <>2021-03-19 19:51:07 +0000
commitdb3f81fc27d7f2c4e5d57b3936d083fd094ebcfe (patch)
treee02960ea71ab17ada892c9c68a801148d14403dd /src/lib/libssl/ssl.h
parentc240a6035f817bd2937ea304396fea4e7404f3ce (diff)
downloadopenbsd-db3f81fc27d7f2c4e5d57b3936d083fd094ebcfe.tar.gz
openbsd-db3f81fc27d7f2c4e5d57b3936d083fd094ebcfe.tar.bz2
openbsd-db3f81fc27d7f2c4e5d57b3936d083fd094ebcfe.zip
Prepare to provide SSL_use_certificate_chain_file()
This is the same as SSL_CTX_use_certificate_chain_file() but for an SSL object instead of an SSL_CTX object. remi found this in a recent librelp update, so we need to provide it. The function will be exposed in an upcoming library bump. ok inoguchi on an earlier version, input/ok jsing
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index e7ff6cec2a..36c9ef02bd 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.182 2021/02/20 08:33:17 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.183 2021/03/19 19:51:07 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 *
@@ -1357,6 +1357,9 @@ int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len);
1357int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); 1357int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);
1358int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); 1358int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type);
1359int SSL_use_certificate_file(SSL *ssl, const char *file, int type); 1359int SSL_use_certificate_file(SSL *ssl, const char *file, int type);
1360#if defined(LIBRESSL_INTERNAL)
1361int SSL_use_certificate_chain_file(SSL *ssl, const char *file);
1362#endif
1360int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); 1363int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1361int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); 1364int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1362int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); 1365int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);