diff options
author | tb <> | 2022-03-13 17:08:04 +0000 |
---|---|---|
committer | tb <> | 2022-03-13 17:08:04 +0000 |
commit | cacd465b56ae37f22e36fbddae712760c3cf7cf8 (patch) | |
tree | 201a18bf5dcae5a230b8aa4c7820e2045c58c062 | |
parent | d2b2d2e01cc3df4a8f0ef3f63554c01984029988 (diff) | |
download | openbsd-cacd465b56ae37f22e36fbddae712760c3cf7cf8.tar.gz openbsd-cacd465b56ae37f22e36fbddae712760c3cf7cf8.tar.bz2 openbsd-cacd465b56ae37f22e36fbddae712760c3cf7cf8.zip |
Add x509_constraints_validate() to x509_internal.h
From Alex Wilson
ok jsing
-rw-r--r-- | src/lib/libcrypto/x509/x509_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_internal.h b/src/lib/libcrypto/x509/x509_internal.h index 9ac0c2bbde..c64992a9ee 100644 --- a/src/lib/libcrypto/x509/x509_internal.h +++ b/src/lib/libcrypto/x509/x509_internal.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_internal.h,v 1.16 2021/11/24 05:38:12 beck Exp $ */ | 1 | /* $OpenBSD: x509_internal.h,v 1.17 2022/03/13 17:08:04 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -126,6 +126,8 @@ int x509_constraints_extract_names(struct x509_constraints_names *names, | |||
126 | int x509_constraints_extract_constraints(X509 *cert, | 126 | int x509_constraints_extract_constraints(X509 *cert, |
127 | struct x509_constraints_names *permitted, | 127 | struct x509_constraints_names *permitted, |
128 | struct x509_constraints_names *excluded, int *error); | 128 | struct x509_constraints_names *excluded, int *error); |
129 | int x509_constraints_validate(GENERAL_NAME *constraint, | ||
130 | struct x509_constraints_name *name, int *error); | ||
129 | int x509_constraints_check(struct x509_constraints_names *names, | 131 | int x509_constraints_check(struct x509_constraints_names *names, |
130 | struct x509_constraints_names *permitted, | 132 | struct x509_constraints_names *permitted, |
131 | struct x509_constraints_names *excluded, int *error); | 133 | struct x509_constraints_names *excluded, int *error); |