diff options
author | tb <> | 2021-03-31 16:52:15 +0000 |
---|---|---|
committer | tb <> | 2021-03-31 16:52:15 +0000 |
commit | 87215fe78f12c94897426fd93d56f75076d71dee (patch) | |
tree | fb3bc85a14589823b6778c2356ac07add17219ca /src/lib | |
parent | 1cea3023fa1fb4c4a3098b40120a50c4fdc66813 (diff) | |
download | openbsd-87215fe78f12c94897426fd93d56f75076d71dee.tar.gz openbsd-87215fe78f12c94897426fd93d56f75076d71dee.tar.bz2 openbsd-87215fe78f12c94897426fd93d56f75076d71dee.zip |
Expose SSL_use_certificate_chain_file(3)
ok bcook inoguchi jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libssl/Symbols.list | 1 | ||||
-rw-r--r-- | src/lib/libssl/ssl.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libssl/Symbols.list b/src/lib/libssl/Symbols.list index e72616a779..f857ecb262 100644 --- a/src/lib/libssl/Symbols.list +++ b/src/lib/libssl/Symbols.list | |||
@@ -312,6 +312,7 @@ SSL_use_RSAPrivateKey_ASN1 | |||
312 | SSL_use_RSAPrivateKey_file | 312 | SSL_use_RSAPrivateKey_file |
313 | SSL_use_certificate | 313 | SSL_use_certificate |
314 | SSL_use_certificate_ASN1 | 314 | SSL_use_certificate_ASN1 |
315 | SSL_use_certificate_chain_file | ||
315 | SSL_use_certificate_file | 316 | SSL_use_certificate_file |
316 | SSL_version | 317 | SSL_version |
317 | SSL_version_str | 318 | SSL_version_str |
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 36c9ef02bd..8143464039 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.183 2021/03/19 19:51:07 tb Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.184 2021/03/31 16:52:15 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,9 +1357,7 @@ 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); | 1360 | int SSL_use_certificate_chain_file(SSL *ssl, const char *file); |
1362 | #endif | ||
1363 | int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type); | 1361 | int SSL_CTX_use_RSAPrivateKey_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_PrivateKey_file(SSL_CTX *ctx, const char *file, int type); |
1365 | int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); | 1363 | int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); |