summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-06-28 20:31:44 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-06-28 20:31:44 +0000
commita9105a9bb16eb7d4e544e152cfb777fa700e7cde (patch)
tree04ad3c4836f55b772980487c9ab13bb712ea969d /lib
parenta4606f4042ea324edb35f9586d1de6544cbb5991 (diff)
Add security callback, level and ex_data fields to SSL_CERT
ok beck jsing sthen
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index f5728003eab..5b976bddc78 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.394 2022/06/07 17:52:00 tb Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.395 2022/06/28 20:31:43 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -380,6 +380,11 @@ typedef struct ssl_cert_st {
DH *(*dhe_params_cb)(SSL *ssl, int is_export, int keysize);
int dhe_params_auto;
+ int (*security_cb)(const SSL *s, const SSL_CTX *ctx, int op, int bits,
+ int nid, void *other, void *ex_data);
+ int security_level;
+ void *security_ex_data; /* XXX: do we really need to support this? */
+
int references; /* >1 only if SSL_copy_session_id is used */
} SSL_CERT;