summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-28 21:14:32 +0000
committertb <>2022-06-28 21:14:32 +0000
commit73b1b9d5c41829e37cc100b437ef041a2dbe0e7c (patch)
treef78986f6c50fa3ab31ce7854e93265076a8f1851
parentccc54364bdea57b4886e4754bf204f7b2b7db7e0 (diff)
downloadopenbsd-73b1b9d5c41829e37cc100b437ef041a2dbe0e7c.tar.gz
openbsd-73b1b9d5c41829e37cc100b437ef041a2dbe0e7c.tar.bz2
openbsd-73b1b9d5c41829e37cc100b437ef041a2dbe0e7c.zip
Add prototypes for ssl{_ctx,}_security()
ok beck jsing sthen
-rw-r--r--src/lib/libssl/ssl_locl.h6
1 files changed, 5 insertions, 1 deletions
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 @@
1/* $OpenBSD: ssl_locl.h,v 1.396 2022/06/28 20:40:24 tb Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.397 2022/06/28 21:14:32 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 *
@@ -1287,6 +1287,10 @@ int ssl_security_default_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
1287int ssl_security_dummy_cb(const SSL *ssl, const SSL_CTX *ctx, int op, 1287int ssl_security_dummy_cb(const SSL *ssl, const SSL_CTX *ctx, int op,
1288 int bits, int nid, void *other, void *ex_data); 1288 int bits, int nid, void *other, void *ex_data);
1289 1289
1290int ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid,
1291 void *other);
1292int ssl_security(const SSL *s, int op, int bits, int nid, void * other);
1293
1290int ssl_get_new_session(SSL *s, int session); 1294int ssl_get_new_session(SSL *s, int session);
1291int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, 1295int ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block,
1292 int *alert); 1296 int *alert);