Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: openssl/crypto/x509v3/ext_dat.h

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/crypto/x509v3/Makefile ('k') | openssl/crypto/x509v3/pcy_cache.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* ext_dat.h */ 1 /* ext_dat.h */
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 1999. 3 * project 1999.
4 */ 4 */
5 /* ==================================================================== 5 /* ====================================================================
6 * Copyright (c) 1999-2004 The OpenSSL Project. All rights reserved. 6 * Copyright (c) 1999-2004 The OpenSSL Project. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 * (eay@cryptsoft.com). This product includes software written by Tim 54 * (eay@cryptsoft.com). This product includes software written by Tim
55 * Hudson (tjh@cryptsoft.com). 55 * Hudson (tjh@cryptsoft.com).
56 * 56 *
57 */ 57 */
58 /* This file contains a table of "standard" extensions */ 58 /* This file contains a table of "standard" extensions */
59 59
60 extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku; 60 extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku;
61 extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo; 61 extern X509V3_EXT_METHOD v3_pkey_usage_period, v3_sxnet, v3_info, v3_sinfo;
62 extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id; 62 extern X509V3_EXT_METHOD v3_ns_ia5_list[], v3_alt[], v3_skey_id, v3_akey_id;
63 extern X509V3_EXT_METHOD v3_crl_num, v3_crl_reason, v3_crl_invdate; 63 extern X509V3_EXT_METHOD v3_crl_num, v3_crl_reason, v3_crl_invdate;
64 extern X509V3_EXT_METHOD v3_delta_crl, v3_cpols, v3_crld; 64 extern X509V3_EXT_METHOD v3_delta_crl, v3_cpols, v3_crld, v3_freshest_crl;
65 extern X509V3_EXT_METHOD v3_ocsp_nonce, v3_ocsp_accresp, v3_ocsp_acutoff; 65 extern X509V3_EXT_METHOD v3_ocsp_nonce, v3_ocsp_accresp, v3_ocsp_acutoff;
66 extern X509V3_EXT_METHOD v3_ocsp_crlid, v3_ocsp_nocheck, v3_ocsp_serviceloc; 66 extern X509V3_EXT_METHOD v3_ocsp_crlid, v3_ocsp_nocheck, v3_ocsp_serviceloc;
67 extern X509V3_EXT_METHOD v3_crl_hold, v3_pci; 67 extern X509V3_EXT_METHOD v3_crl_hold, v3_pci;
68 extern X509V3_EXT_METHOD v3_policy_mappings, v3_policy_constraints; 68 extern X509V3_EXT_METHOD v3_policy_mappings, v3_policy_constraints;
69 extern X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp; 69 extern X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp, v3_idp;
70 #ifndef OPENSSL_NO_RFC3779
71 extern X509V3_EXT_METHOD v3_addr, v3_asid; 70 extern X509V3_EXT_METHOD v3_addr, v3_asid;
72 #endif
73 71
74 /* This table will be searched using OBJ_bsearch so it *must* kept in 72 /* This table will be searched using OBJ_bsearch so it *must* kept in
75 * order of the ext_nid values. 73 * order of the ext_nid values.
76 */ 74 */
77 75
78 static X509V3_EXT_METHOD *standard_exts[] = { 76 static const X509V3_EXT_METHOD *standard_exts[] = {
79 &v3_nscert, 77 &v3_nscert,
80 &v3_ns_ia5_list[0], 78 &v3_ns_ia5_list[0],
81 &v3_ns_ia5_list[1], 79 &v3_ns_ia5_list[1],
82 &v3_ns_ia5_list[2], 80 &v3_ns_ia5_list[2],
83 &v3_ns_ia5_list[3], 81 &v3_ns_ia5_list[3],
84 &v3_ns_ia5_list[4], 82 &v3_ns_ia5_list[4],
85 &v3_ns_ia5_list[5], 83 &v3_ns_ia5_list[5],
86 &v3_ns_ia5_list[6], 84 &v3_ns_ia5_list[6],
87 &v3_skey_id, 85 &v3_skey_id,
88 &v3_key_usage, 86 &v3_key_usage,
(...skipping 26 matching lines...) Expand all
115 &v3_ocsp_serviceloc, 113 &v3_ocsp_serviceloc,
116 #endif 114 #endif
117 &v3_sinfo, 115 &v3_sinfo,
118 &v3_policy_constraints, 116 &v3_policy_constraints,
119 #ifndef OPENSSL_NO_OCSP 117 #ifndef OPENSSL_NO_OCSP
120 &v3_crl_hold, 118 &v3_crl_hold,
121 #endif 119 #endif
122 &v3_pci, 120 &v3_pci,
123 &v3_name_constraints, 121 &v3_name_constraints,
124 &v3_policy_mappings, 122 &v3_policy_mappings,
125 &v3_inhibit_anyp 123 &v3_inhibit_anyp,
124 &v3_idp,
125 &v3_alt[2],
126 &v3_freshest_crl,
126 }; 127 };
127 128
128 /* Number of standard extensions */ 129 /* Number of standard extensions */
129 130
130 #define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *)) 131 #define STANDARD_EXTENSION_COUNT (sizeof(standard_exts)/sizeof(X509V3_EXT_METHOD *))
131 132
OLDNEW
« no previous file with comments | « openssl/crypto/x509v3/Makefile ('k') | openssl/crypto/x509v3/pcy_cache.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698