summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authortb <>2022-06-29 21:10:20 +0000
committertb <>2022-06-29 21:10:20 +0000
commit607440e43ab60de5b766fe1c327fee120629c3e5 (patch)
tree9b991bf3c95ea651a643e838539ba6ea34f05e16 /src/lib/libssl/ssl_locl.h
parent9f44bbceaed6292b842455e640f3de2978aba6e2 (diff)
downloadopenbsd-607440e43ab60de5b766fe1c327fee120629c3e5.tar.gz
openbsd-607440e43ab60de5b766fe1c327fee120629c3e5.tar.bz2
openbsd-607440e43ab60de5b766fe1c327fee120629c3e5.zip
Add functions that check security level in certs and cert chains.
ok beck jsing
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index d979baf301..161a8407af 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.403 2022/06/29 20:04:28 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.404 2022/06/29 21:10:20 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 *
@@ -1300,6 +1300,10 @@ int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid,
1300int ssl_security(const SSL *ssl, int op, int bits, int nid, void *other); 1300int ssl_security(const SSL *ssl, int op, int bits, int nid, void *other);
1301int ssl_ctx_security_dh(const SSL_CTX *ctx, DH *dh); 1301int ssl_ctx_security_dh(const SSL_CTX *ctx, DH *dh);
1302int ssl_security_dh(const SSL *ssl, DH *dh); 1302int ssl_security_dh(const SSL *ssl, DH *dh);
1303int ssl_security_cert(const SSL_CTX *ctx, const SSL *ssl, X509 *x509,
1304 int is_peer, int *out_error);
1305int ssl_security_cert_chain(const SSL *ssl, STACK_OF(X509) *sk,
1306 X509 *x509, int *out_error);
1303 1307
1304int ssl_get_new_session(SSL *s, int session); 1308int ssl_get_new_session(SSL *s, int session);
1305int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, 1309int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block,