diff options
author | tb <> | 2022-06-27 14:00:09 +0000 |
---|---|---|
committer | tb <> | 2022-06-27 14:00:09 +0000 |
commit | 6ed54976ab988ec7cfdbaf1ac00396b0eea716ba (patch) | |
tree | 6652b704559804a63e8900495dcb6dbcab41a07c /src/lib/libcrypto/x509/x509_vfy.h | |
parent | 1dfc6d4bc0a9c452ed36f0b04d5dcf53b77e6f1f (diff) | |
download | openbsd-6ed54976ab988ec7cfdbaf1ac00396b0eea716ba.tar.gz openbsd-6ed54976ab988ec7cfdbaf1ac00396b0eea716ba.tar.bz2 openbsd-6ed54976ab988ec7cfdbaf1ac00396b0eea716ba.zip |
Prepare to provide X509_VERIFY_PARAM_set_auth_level()
For some unknown reason this needed a different name than security_level,
both internally and in the public API. Obviously it is exactly the same
garbage.
ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index 9a649cbbad..a007fe4795 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.50 2022/01/14 07:53:45 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.51 2022/06/27 14:00:09 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 | * |
@@ -426,6 +426,9 @@ unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param); | |||
426 | int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose); | 426 | int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose); |
427 | int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); | 427 | int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); |
428 | void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); | 428 | void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); |
429 | #if defined(LIBRESSL_INTERNAL) | ||
430 | void X509_VERIFY_PARAM_set_auth_level(X509_VERIFY_PARAM *param, int auth_level); | ||
431 | #endif | ||
429 | void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); | 432 | void X509_VERIFY_PARAM_set_time(X509_VERIFY_PARAM *param, time_t t); |
430 | int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, | 433 | int X509_VERIFY_PARAM_add0_policy(X509_VERIFY_PARAM *param, |
431 | ASN1_OBJECT *policy); | 434 | ASN1_OBJECT *policy); |