diff options
author | tb <> | 2021-03-19 19:51:07 +0000 |
---|---|---|
committer | tb <> | 2021-03-19 19:51:07 +0000 |
commit | db3f81fc27d7f2c4e5d57b3936d083fd094ebcfe (patch) | |
tree | e02960ea71ab17ada892c9c68a801148d14403dd /src/lib/libssl/ssl.h | |
parent | c240a6035f817bd2937ea304396fea4e7404f3ce (diff) | |
download | openbsd-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.h | 5 |
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); | |||
1357 | int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); | 1357 | int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type); |
1358 | int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); | 1358 | int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type); |
1359 | int SSL_use_certificate_file(SSL *ssl, const char *file, int type); | 1359 | int SSL_use_certificate_file(SSL *ssl, const char *file, int type); |
1360 | #if defined(LIBRESSL_INTERNAL) | ||
1361 | int SSL_use_certificate_chain_file(SSL *ssl, const char *file); | ||
1362 | #endif | ||
1360 | int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); | 1363 | int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); |
1361 | int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); | 1364 | int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); |
1362 | int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); | 1365 | int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); |