diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-29 21:18:05 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-29 21:18:05 +0000 |
commit | 950f30348268dfa3976885612a7551e94e2c36b0 (patch) | |
tree | 29e8205c096c1c7d82141d79f8efd966bd872871 /lib/libssl/ssl_locl.h | |
parent | 50b501312933f84757dbc0109ed2a9bbcb35f7c6 (diff) |
Make ssl_cert_add{0,1}_chain_cert() take ssl/ctx
ok beck jsing
Diffstat (limited to 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index fd644e5b376..b46e37f5eb0 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.406 2022/06/29 21:17:22 tb Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.407 2022/06/29 21:18:04 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1288,8 +1288,8 @@ void ssl_cert_free(SSL_CERT *c); SSL_CERT *ssl_get0_cert(SSL_CTX *ctx, SSL *ssl); int ssl_cert_set0_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain); int ssl_cert_set1_chain(SSL_CTX *ctx, SSL *ssl, STACK_OF(X509) *chain); -int ssl_cert_add0_chain_cert(SSL_CERT *c, X509 *cert); -int ssl_cert_add1_chain_cert(SSL_CERT *c, X509 *cert); +int ssl_cert_add0_chain_cert(SSL_CTX *ctx, SSL *ssl, X509 *cert); +int ssl_cert_add1_chain_cert(SSL_CTX *ctx, SSL *ssl, X509 *cert); int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex_data); |