diff options
author | tb <> | 2022-06-29 21:10:20 +0000 |
---|---|---|
committer | tb <> | 2022-06-29 21:10:20 +0000 |
commit | 607440e43ab60de5b766fe1c327fee120629c3e5 (patch) | |
tree | 9b991bf3c95ea651a643e838539ba6ea34f05e16 /src/lib/libssl/ssl_locl.h | |
parent | 9f44bbceaed6292b842455e640f3de2978aba6e2 (diff) | |
download | openbsd-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.h | 6 |
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, | |||
1300 | int ssl_security(const SSL *ssl, int op, int bits, int nid, void *other); | 1300 | int ssl_security(const SSL *ssl, int op, int bits, int nid, void *other); |
1301 | int ssl_ctx_security_dh(const SSL_CTX *ctx, DH *dh); | 1301 | int ssl_ctx_security_dh(const SSL_CTX *ctx, DH *dh); |
1302 | int ssl_security_dh(const SSL *ssl, DH *dh); | 1302 | int ssl_security_dh(const SSL *ssl, DH *dh); |
1303 | int ssl_security_cert(const SSL_CTX *ctx, const SSL *ssl, X509 *x509, | ||
1304 | int is_peer, int *out_error); | ||
1305 | int ssl_security_cert_chain(const SSL *ssl, STACK_OF(X509) *sk, | ||
1306 | X509 *x509, int *out_error); | ||
1303 | 1307 | ||
1304 | int ssl_get_new_session(SSL *s, int session); | 1308 | int ssl_get_new_session(SSL *s, int session); |
1305 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, | 1309 | int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, |