summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_pcons.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509v3/v3_pcons.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_pcons.c b/src/lib/libcrypto/x509v3/v3_pcons.c
index 7bece06271..03193427f7 100644
--- a/src/lib/libcrypto/x509v3/v3_pcons.c
+++ b/src/lib/libcrypto/x509v3/v3_pcons.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: v3_pcons.c,v 1.7 2015/07/25 16:00:14 jsing Exp $ */ 1/* $OpenBSD: v3_pcons.c,v 1.8 2015/07/25 16:14:29 jsing Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -83,8 +83,13 @@ const X509V3_EXT_METHOD v3_policy_constraints = {
83}; 83};
84 84
85static const ASN1_TEMPLATE POLICY_CONSTRAINTS_seq_tt[] = { 85static const ASN1_TEMPLATE POLICY_CONSTRAINTS_seq_tt[] = {
86 ASN1_IMP_OPT(POLICY_CONSTRAINTS, requireExplicitPolicy, 86 {
87 ASN1_INTEGER, 0), 87 .flags = ASN1_TFLG_IMPLICIT | ASN1_TFLG_OPTIONAL,
88 .tag = 0,
89 .offset = offsetof(POLICY_CONSTRAINTS, requireExplicitPolicy),
90 .field_name = "requireExplicitPolicy",
91 .item = &ASN1_INTEGER_it,
92 },
88 { 93 {
89 .flags = ASN1_TFLG_IMPLICIT | ASN1_TFLG_OPTIONAL, 94 .flags = ASN1_TFLG_IMPLICIT | ASN1_TFLG_OPTIONAL,
90 .tag = 1, 95 .tag = 1,