summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-28 21:14:33 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-28 21:14:33 +0000
commit5e42b7e5a8f1275c933c10074a7e7cc7b2a7ef3c (patch)
treebf7855bf27f0b9da4846c9563f38d71a7bcacba5 /lib
parentc9e51ac81cfde33b879215c286c6ad762304a4b3 (diff)
Add prototypes for ssl{_ctx,}_security()
ok beck jsing sthen
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index ab547ea5bc0..cf3dbedf09a 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.396 2022/06/28 20:40:24 tb Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.397 2022/06/28 21:14:32 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1287,6 +1287,10 @@ int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
int ssl_security_dummy_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
int bits, int nid, void *other, void *ex_data);
+int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid,
+ void *other);
+int ssl_security(const SSL *s, int op, int bits, int nid, void * other);
+
int ssl_get_new_session(SSL *s, int session);
int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block,
int *alert);