From: tb Date: Tue, 28 Jun 2022 21:14:32 +0000 (+0000) Subject: Add prototypes for ssl{_ctx,}_security() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=157ca3d87ed49e5e8e30ced6be02bdbf8c957710;p=openbsd Add prototypes for ssl{_ctx,}_security() ok beck jsing sthen --- 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);