summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/v3_pcons.c
diff options
context:
space:
mode:
authorjsing <>2015-07-25 16:14:29 +0000
committerjsing <>2015-07-25 16:14:29 +0000
commit2281bb413977f28868acf99a7f40ba2a795be7cf (patch)
treedffb99075c728bf5383eaf10d3139d435daebe11 /src/lib/libcrypto/x509v3/v3_pcons.c
parent9a71de96c8bcf60011a8623c652b850b80caa03f (diff)
downloadopenbsd-2281bb413977f28868acf99a7f40ba2a795be7cf.tar.gz
openbsd-2281bb413977f28868acf99a7f40ba2a795be7cf.tar.bz2
openbsd-2281bb413977f28868acf99a7f40ba2a795be7cf.zip
Expand ASN.1 template macros that got missed in the last pass - only change
to generated assembly is due to line numbers.
Diffstat (limited to 'src/lib/libcrypto/x509v3/v3_pcons.c')
-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,