summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authortb <>2022-06-29 21:18:04 +0000
committertb <>2022-06-29 21:18:04 +0000
commit831bfdd11f50ae38c3e5fe343d11393a2e503f51 (patch)
tree473d8a8c4710121d3c89d14c161565036d7a3301 /src/lib/libssl/ssl_locl.h
parent4f5e300043721913395d3fbf45b68d4cc92ea802 (diff)
downloadopenbsd-831bfdd11f50ae38c3e5fe343d11393a2e503f51.tar.gz
openbsd-831bfdd11f50ae38c3e5fe343d11393a2e503f51.tar.bz2
openbsd-831bfdd11f50ae38c3e5fe343d11393a2e503f51.zip
Make ssl_cert_add{0,1}_chain_cert() take ssl/ctx
ok beck jsing
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index fd644e5b37..b46e37f5eb 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.406 2022/06/29 21:17:22 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.407 2022/06/29 21:18:04 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 *
@@ -1288,8 +1288,8 @@ void ssl_cert_free(SSL_CERT *c);
1288SSL_CERT *ssl_get0_cert(SSL_CTX *ctx, SSL *ssl); 1288SSL_CERT *ssl_get0_cert(SSL_CTX *ctx, SSL *ssl);
1289int ssl_cert_set0_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain); 1289int ssl_cert_set0_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain);
1290int ssl_cert_set1_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain); 1290int ssl_cert_set1_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain);
1291int ssl_cert_add0_chain_cert(SSL_CERT *c, X509 *cert); 1291int ssl_cert_add0_chain_cert(SSL_CTX *ctx, SSL *ssl, X509 *cert);
1292int ssl_cert_add1_chain_cert(SSL_CERT *c, X509 *cert); 1292int ssl_cert_add1_chain_cert(SSL_CTX *ctx, SSL *ssl, X509 *cert);
1293 1293
1294int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op, 1294int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
1295 int bits, int nid, void *other, void *ex_data); 1295 int bits, int nid, void *other, void *ex_data);