summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/ext_dat.h
diff options
context:
space:
mode:
authorjsing <>2014-04-21 08:41:26 +0000
committerjsing <>2014-04-21 08:41:26 +0000
commitaf50ddfc8cd7409b6577826223496779c69cd1e0 (patch)
treef2f8e8a8d38afa820e7b749c66023be793b9ca3c /src/lib/libcrypto/x509v3/ext_dat.h
parentf46c697a11680ae5d3ab06393f0bfe2ed1841168 (diff)
downloadopenbsd-af50ddfc8cd7409b6577826223496779c69cd1e0.tar.gz
openbsd-af50ddfc8cd7409b6577826223496779c69cd1e0.tar.bz2
openbsd-af50ddfc8cd7409b6577826223496779c69cd1e0.zip
KNF.
Diffstat (limited to 'src/lib/libcrypto/x509v3/ext_dat.h')
-rw-r--r--src/lib/libcrypto/x509v3/ext_dat.h88
1 files changed, 43 insertions, 45 deletions
diff --git a/src/lib/libcrypto/x509v3/ext_dat.h b/src/lib/libcrypto/x509v3/ext_dat.h
index 76daee6fcd..d90d2e7f8e 100644
--- a/src/lib/libcrypto/x509v3/ext_dat.h
+++ b/src/lib/libcrypto/x509v3/ext_dat.h
@@ -10,7 +10,7 @@
10 * are met: 10 * are met:
11 * 11 *
12 * 1. Redistributions of source code must retain the above copyright 12 * 1. Redistributions of source code must retain the above copyright
13 * notice, this list of conditions and the following disclaimer. 13 * notice, this list of conditions and the following disclaimer.
14 * 14 *
15 * 2. Redistributions in binary form must reproduce the above copyright 15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in 16 * notice, this list of conditions and the following disclaimer in
@@ -74,59 +74,57 @@ extern X509V3_EXT_METHOD v3_addr, v3_asid;
74 */ 74 */
75 75
76static const X509V3_EXT_METHOD *standard_exts[] = { 76static const X509V3_EXT_METHOD *standard_exts[] = {
77&v3_nscert, 77 &v3_nscert,
78&v3_ns_ia5_list[0], 78 &v3_ns_ia5_list[0],
79&v3_ns_ia5_list[1], 79 &v3_ns_ia5_list[1],
80&v3_ns_ia5_list[2], 80 &v3_ns_ia5_list[2],
81&v3_ns_ia5_list[3], 81 &v3_ns_ia5_list[3],
82&v3_ns_ia5_list[4], 82 &v3_ns_ia5_list[4],
83&v3_ns_ia5_list[5], 83 &v3_ns_ia5_list[5],
84&v3_ns_ia5_list[6], 84 &v3_ns_ia5_list[6],
85&v3_skey_id, 85 &v3_skey_id,
86&v3_key_usage, 86 &v3_key_usage,
87&v3_pkey_usage_period, 87 &v3_pkey_usage_period,
88&v3_alt[0], 88 &v3_alt[0],
89&v3_alt[1], 89 &v3_alt[1],
90&v3_bcons, 90 &v3_bcons,
91&v3_crl_num, 91 &v3_crl_num,
92&v3_cpols, 92 &v3_cpols,
93&v3_akey_id, 93 &v3_akey_id,
94&v3_crld, 94 &v3_crld,
95&v3_ext_ku, 95 &v3_ext_ku,
96&v3_delta_crl, 96 &v3_delta_crl,
97&v3_crl_reason, 97 &v3_crl_reason,
98#ifndef OPENSSL_NO_OCSP 98#ifndef OPENSSL_NO_OCSP
99&v3_crl_invdate, 99 &v3_crl_invdate,
100#endif 100#endif
101&v3_sxnet, 101 &v3_sxnet,
102&v3_info, 102 &v3_info,
103#ifndef OPENSSL_NO_RFC3779 103#ifndef OPENSSL_NO_RFC3779
104&v3_addr, 104 &v3_addr,
105&v3_asid, 105 &v3_asid,
106#endif 106#endif
107#ifndef OPENSSL_NO_OCSP 107#ifndef OPENSSL_NO_OCSP
108&v3_ocsp_nonce, 108 &v3_ocsp_nonce,
109&v3_ocsp_crlid, 109 &v3_ocsp_crlid,
110&v3_ocsp_accresp, 110 &v3_ocsp_accresp,
111&v3_ocsp_nocheck, 111 &v3_ocsp_nocheck,
112&v3_ocsp_acutoff, 112 &v3_ocsp_acutoff,
113&v3_ocsp_serviceloc, 113 &v3_ocsp_serviceloc,
114#endif 114#endif
115&v3_sinfo, 115 &v3_sinfo,
116&v3_policy_constraints, 116 &v3_policy_constraints,
117#ifndef OPENSSL_NO_OCSP 117#ifndef OPENSSL_NO_OCSP
118&v3_crl_hold, 118 &v3_crl_hold,
119#endif 119#endif
120&v3_pci, 120 &v3_pci,
121&v3_name_constraints, 121 &v3_name_constraints,
122&v3_policy_mappings, 122 &v3_policy_mappings,
123&v3_inhibit_anyp, 123 &v3_inhibit_anyp,
124&v3_idp, 124 &v3_idp,
125&v3_alt[2], 125 &v3_alt[2],
126&v3_freshest_crl, 126 &v3_freshest_crl,
127}; 127};
128 128
129/* Number of standard extensions */ 129/* Number of standard extensions */
130
131#define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *)) 130#define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *))
132