diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-28 20:31:44 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-28 20:31:44 +0000 |
commit | a9105a9bb16eb7d4e544e152cfb777fa700e7cde (patch) | |
tree | 04ad3c4836f55b772980487c9ab13bb712ea969d /lib | |
parent | a4606f4042ea324edb35f9586d1de6544cbb5991 (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.h | 7 |
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; |