summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl.h
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2015-02-06 01:37:11 +0000
committerreyk <reyk@openbsd.org>2015-02-06 01:37:11 +0000
commit642f72f1c19ea98cec31c6cdcbc9afede992c769 (patch)
tree5083d73abae6841100ac82e972c9b50031dd3c32 /lib/libssl/ssl.h
parentChange rt_mpath_conflict() to not rely on an initialized rtentry when (diff)
downloadwireguard-openbsd-642f72f1c19ea98cec31c6cdcbc9afede992c769.tar.xz
wireguard-openbsd-642f72f1c19ea98cec31c6cdcbc9afede992c769.zip
Rename SSL_CTX_use_certificate_chain() to SSL_CTX_use_certificate_chain_mem().
As discussed with beck@ jsing@ and others OK beck@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r--lib/libssl/ssl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index 59ae1b52445..275743a6a06 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.78 2015/01/26 13:06:39 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.79 2015/02/06 01:37:11 reyk Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1585,7 +1585,7 @@ 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);
int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); /* PEM type */
-int SSL_CTX_use_certificate_chain(SSL_CTX *ctx, void *buf, int len);
+int SSL_CTX_use_certificate_chain_mem(SSL_CTX *ctx, void *buf, int len);
STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *stackCAs,
const char *file);