summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r--src/lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 1d8eff9fb6..6e12bf9503 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.168 2018/08/24 17:30:32 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.169 2018/08/27 16:48:12 jsing 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 *
@@ -2082,14 +2082,14 @@ _SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *cert)
2082 return 1; 2082 return 1;
2083} 2083}
2084 2084
2085int 2085static int
2086_SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **certs) 2086_SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **certs)
2087{ 2087{
2088 *certs = ctx->extra_certs; 2088 *certs = ctx->extra_certs;
2089 return 1; 2089 return 1;
2090} 2090}
2091 2091
2092int 2092static int
2093_SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx) 2093_SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx)
2094{ 2094{
2095 sk_X509_pop_free(ctx->extra_certs, X509_free); 2095 sk_X509_pop_free(ctx->extra_certs, X509_free);