summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authortb <>2022-06-28 20:40:24 +0000
committertb <>2022-06-28 20:40:24 +0000
commit186a8ec1607c13d6266716aa9cb24fba4e86f1f0 (patch)
tree03da3cce0daceebde86bd02a2c0a4cf117bd10c9 /src/lib/libssl/ssl_locl.h
parentf2a38cb44ea1980d59d2cd0db6321cfa58226032 (diff)
downloadopenbsd-186a8ec1607c13d6266716aa9cb24fba4e86f1f0.tar.gz
openbsd-186a8ec1607c13d6266716aa9cb24fba4e86f1f0.tar.bz2
openbsd-186a8ec1607c13d6266716aa9cb24fba4e86f1f0.zip
Implement the default security level callback
And here is where the fun starts. The tentacles will grow everywhere. ok beck jsing sthen
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 5b976bddc7..ab547ea5bc 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.395 2022/06/28 20:31:43 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.396 2022/06/28 20:40:24 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 *
@@ -1282,6 +1282,11 @@ int ssl_cert_set1_chain(SSL_CERT *c, STACK_OF(X509) *chain);
1282int ssl_cert_add0_chain_cert(SSL_CERT *c, X509 *cert); 1282int ssl_cert_add0_chain_cert(SSL_CERT *c, X509 *cert);
1283int ssl_cert_add1_chain_cert(SSL_CERT *c, X509 *cert); 1283int ssl_cert_add1_chain_cert(SSL_CERT *c, X509 *cert);
1284 1284
1285int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
1286 int bits, int nid, void *other, void *ex_data);
1287int ssl_security_dummy_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
1288 int bits, int nid, void *other, void *ex_data);
1289
1285int ssl_get_new_session(SSL *s, int session); 1290int ssl_get_new_session(SSL *s, int session);
1286int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, 1291int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block,
1287 int *alert); 1292 int *alert);