From 73b1b9d5c41829e37cc100b437ef041a2dbe0e7c Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 28 Jun 2022 21:14:32 +0000 Subject: Add prototypes for ssl{_ctx,}_security() ok beck jsing sthen --- src/lib/libssl/ssl_locl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index ab547ea5bc..cf3dbedf09 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/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); -- cgit v1.2.3-55-g6feb