diff options
author | David Benjamin <davidben@chromium.org> | 2015-02-11 23:55:26 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-02-12 02:12:08 +0300 |
commit | 689be0f4b7289ed633dee1d9861f13d80e65c96d (patch) | |
tree | ac3eec38cf6300637a5ed6f26fcead449f1fd32e /include/openssl/x509v3.h | |
parent | 96396b3aaac304912ea1e4dd59d228cf3e42830e (diff) |
Reset all the error codes.
This saves about 6-7k of error data.
Change-Id: Ic28593d4a1f5454f00fb2399d281c351ee57fb14
Reviewed-on: https://boringssl-review.googlesource.com/3385
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/x509v3.h')
-rw-r--r-- | include/openssl/x509v3.h | 240 |
1 files changed, 117 insertions, 123 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index c8910221..a2441fa7 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -740,131 +740,125 @@ void ERR_load_X509V3_strings(void); #ifdef __cplusplus } #endif -#define X509V3_F_do_ext_i2d 100 -#define X509V3_F_v2i_AUTHORITY_KEYID 101 -#define X509V3_F_X509V3_parse_list 102 -#define X509V3_F_SXNET_add_id_asc 103 +#define X509V3_F_SXNET_add_id_INTEGER 100 +#define X509V3_F_SXNET_add_id_asc 101 +#define X509V3_F_SXNET_add_id_ulong 102 +#define X509V3_F_SXNET_get_id_asc 103 #define X509V3_F_SXNET_get_id_ulong 104 -#define X509V3_F_v2i_AUTHORITY_INFO_ACCESS 105 -#define X509V3_F_X509V3_EXT_add 106 -#define X509V3_F_i2s_ASN1_INTEGER 107 -#define X509V3_F_s2i_ASN1_OCTET_STRING 108 -#define X509V3_F_copy_issuer 109 -#define X509V3_F_v2i_subject_alt 110 -#define X509V3_F_copy_email 111 -#define X509V3_F_X509V3_EXT_i2d 112 -#define X509V3_F_v2i_crld 113 -#define X509V3_F_policy_section 114 -#define X509V3_F_a2i_GENERAL_NAME 115 -#define X509V3_F_hex_to_string 116 -#define X509V3_F_i2s_ASN1_IA5STRING 117 -#define X509V3_F_string_to_hex 118 -#define X509V3_F_v3_generic_extension 119 -#define X509V3_F_X509V3_get_section 120 -#define X509V3_F_s2i_skey_id 121 -#define X509V3_F_nref_nos 122 -#define X509V3_F_X509V3_get_value_bool 123 -#define X509V3_F_v2i_NAME_CONSTRAINTS 124 -#define X509V3_F_v2i_POLICY_MAPPINGS 125 -#define X509V3_F_v2i_GENERAL_NAMES 126 -#define X509V3_F_do_dirname 127 -#define X509V3_F_v2i_ASN1_BIT_STRING 128 -#define X509V3_F_SXNET_add_id_ulong 129 -#define X509V3_F_X509V3_EXT_add_alias 130 -#define X509V3_F_X509V3_add1_i2d 131 -#define X509V3_F_r2i_pci 132 -#define X509V3_F_X509V3_get_string 133 -#define X509V3_F_gnames_from_sectname 134 -#define X509V3_F_r2i_certpol 135 -#define X509V3_F_X509V3_add_value 136 +#define X509V3_F_X509V3_EXT_add 105 +#define X509V3_F_X509V3_EXT_add_alias 106 +#define X509V3_F_X509V3_EXT_free 107 +#define X509V3_F_X509V3_EXT_i2d 108 +#define X509V3_F_X509V3_EXT_nconf 109 +#define X509V3_F_X509V3_add1_i2d 110 +#define X509V3_F_X509V3_add_value 111 +#define X509V3_F_X509V3_get_section 112 +#define X509V3_F_X509V3_get_string 113 +#define X509V3_F_X509V3_get_value_bool 114 +#define X509V3_F_X509V3_parse_list 115 +#define X509V3_F_X509_PURPOSE_add 116 +#define X509V3_F_X509_PURPOSE_set 117 +#define X509V3_F_a2i_GENERAL_NAME 118 +#define X509V3_F_copy_email 119 +#define X509V3_F_copy_issuer 120 +#define X509V3_F_do_dirname 121 +#define X509V3_F_do_ext_i2d 122 +#define X509V3_F_do_ext_nconf 123 +#define X509V3_F_gnames_from_sectname 124 +#define X509V3_F_hex_to_string 125 +#define X509V3_F_i2s_ASN1_ENUMERATED 126 +#define X509V3_F_i2s_ASN1_IA5STRING 127 +#define X509V3_F_i2s_ASN1_INTEGER 128 +#define X509V3_F_i2v_AUTHORITY_INFO_ACCESS 129 +#define X509V3_F_notice_section 130 +#define X509V3_F_nref_nos 131 +#define X509V3_F_policy_section 132 +#define X509V3_F_process_pci_value 133 +#define X509V3_F_r2i_certpol 134 +#define X509V3_F_r2i_pci 135 +#define X509V3_F_s2i_ASN1_IA5STRING 136 #define X509V3_F_s2i_ASN1_INTEGER 137 -#define X509V3_F_v2i_issuer_alt 138 -#define X509V3_F_v2i_GENERAL_NAME_ex 139 -#define X509V3_F_X509V3_EXT_nconf 140 -#define X509V3_F_v2i_BASIC_CONSTRAINTS 141 -#define X509V3_F_process_pci_value 142 -#define X509V3_F_notice_section 143 -#define X509V3_F_X509_PURPOSE_set 144 -#define X509V3_F_do_ext_nconf 145 -#define X509V3_F_i2s_ASN1_ENUMERATED 146 -#define X509V3_F_s2i_ASN1_IA5STRING 147 -#define X509V3_F_v2i_POLICY_CONSTRAINTS 148 -#define X509V3_F_v2i_EXTENDED_KEY_USAGE 149 -#define X509V3_F_SXNET_get_id_asc 150 -#define X509V3_F_set_dist_point_name 151 -#define X509V3_F_v2i_idp 152 -#define X509V3_F_X509_PURPOSE_add 153 -#define X509V3_F_SXNET_add_id_INTEGER 154 -#define X509V3_F_i2v_AUTHORITY_INFO_ACCESS 155 -#define X509V3_F_X509V3_EXT_free 156 -#define X509V3_R_INVALID_BOOLEAN_STRING 100 -#define X509V3_R_POLICY_SYNTAX_NOT_CURRENTLY_SUPPORTED 101 -#define X509V3_R_INVALID_NAME 102 -#define X509V3_R_OPERATION_NOT_DEFINED 103 -#define X509V3_R_POLICY_PATH_LENGTH 104 -#define X509V3_R_INVALID_PROXY_POLICY_SETTING 105 -#define X509V3_R_INVALID_ASRANGE 106 -#define X509V3_R_ERROR_CREATING_EXTENSION 107 -#define X509V3_R_ISSUER_DECODE_ERROR 108 -#define X509V3_R_OTHERNAME_ERROR 109 -#define X509V3_R_ILLEGAL_HEX_DIGIT 110 -#define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 111 -#define X509V3_R_USER_TOO_LONG 112 -#define X509V3_R_INVALID_INHERITANCE 113 -#define X509V3_R_INVALID_SAFI 114 -#define X509V3_R_INVALID_NULL_VALUE 115 -#define X509V3_R_NO_SUBJECT_DETAILS 116 -#define X509V3_R_BAD_OBJECT 117 -#define X509V3_R_DIRNAME_ERROR 118 -#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 119 -#define X509V3_R_INVALID_EXTENSION_STRING 120 -#define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 121 -#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 122 -#define X509V3_R_INVALID_OPTION 123 -#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 124 -#define X509V3_R_INVALID_POLICY_IDENTIFIER 125 -#define X509V3_R_INVALID_PURPOSE 126 -#define X509V3_R_UNKNOWN_EXTENSION 127 -#define X509V3_R_NO_ISSUER_CERTIFICATE 128 -#define X509V3_R_BN_DEC2BN_ERROR 129 -#define X509V3_R_EXPECTED_A_SECTION_NAME 130 -#define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 131 -#define X509V3_R_MISSING_VALUE 132 -#define X509V3_R_SECTION_NOT_FOUND 133 -#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 134 -#define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 135 -#define X509V3_R_ILLEGAL_EMPTY_EXTENSION 136 -#define X509V3_R_NO_POLICY_IDENTIFIER 137 -#define X509V3_R_NO_ISSUER_DETAILS 138 +#define X509V3_F_s2i_ASN1_OCTET_STRING 138 +#define X509V3_F_s2i_skey_id 139 +#define X509V3_F_set_dist_point_name 140 +#define X509V3_F_string_to_hex 141 +#define X509V3_F_v2i_ASN1_BIT_STRING 142 +#define X509V3_F_v2i_AUTHORITY_INFO_ACCESS 143 +#define X509V3_F_v2i_AUTHORITY_KEYID 144 +#define X509V3_F_v2i_BASIC_CONSTRAINTS 145 +#define X509V3_F_v2i_EXTENDED_KEY_USAGE 146 +#define X509V3_F_v2i_GENERAL_NAMES 147 +#define X509V3_F_v2i_GENERAL_NAME_ex 148 +#define X509V3_F_v2i_NAME_CONSTRAINTS 149 +#define X509V3_F_v2i_POLICY_CONSTRAINTS 150 +#define X509V3_F_v2i_POLICY_MAPPINGS 151 +#define X509V3_F_v2i_crld 152 +#define X509V3_F_v2i_idp 153 +#define X509V3_F_v2i_issuer_alt 154 +#define X509V3_F_v2i_subject_alt 155 +#define X509V3_F_v3_generic_extension 156 +#define X509V3_R_BAD_IP_ADDRESS 100 +#define X509V3_R_BAD_OBJECT 101 +#define X509V3_R_BN_DEC2BN_ERROR 102 +#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 103 +#define X509V3_R_CANNOT_FIND_FREE_FUNCTION 104 +#define X509V3_R_DIRNAME_ERROR 105 +#define X509V3_R_DISTPOINT_ALREADY_SET 106 +#define X509V3_R_DUPLICATE_ZONE_ID 107 +#define X509V3_R_ERROR_CONVERTING_ZONE 108 +#define X509V3_R_ERROR_CREATING_EXTENSION 109 +#define X509V3_R_ERROR_IN_EXTENSION 110 +#define X509V3_R_EXPECTED_A_SECTION_NAME 111 +#define X509V3_R_EXTENSION_EXISTS 112 +#define X509V3_R_EXTENSION_NAME_ERROR 113 +#define X509V3_R_EXTENSION_NOT_FOUND 114 +#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 115 +#define X509V3_R_EXTENSION_VALUE_ERROR 116 +#define X509V3_R_ILLEGAL_EMPTY_EXTENSION 117 +#define X509V3_R_ILLEGAL_HEX_DIGIT 118 +#define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 119 +#define X509V3_R_INVALID_BOOLEAN_STRING 120 +#define X509V3_R_INVALID_EXTENSION_STRING 121 +#define X509V3_R_INVALID_MULTIPLE_RDNS 122 +#define X509V3_R_INVALID_NAME 123 +#define X509V3_R_INVALID_NULL_ARGUMENT 124 +#define X509V3_R_INVALID_NULL_NAME 125 +#define X509V3_R_INVALID_NULL_VALUE 126 +#define X509V3_R_INVALID_NUMBER 127 +#define X509V3_R_INVALID_NUMBERS 128 +#define X509V3_R_INVALID_OBJECT_IDENTIFIER 129 +#define X509V3_R_INVALID_OPTION 130 +#define X509V3_R_INVALID_POLICY_IDENTIFIER 131 +#define X509V3_R_INVALID_PROXY_POLICY_SETTING 132 +#define X509V3_R_INVALID_PURPOSE 133 +#define X509V3_R_INVALID_SECTION 134 +#define X509V3_R_INVALID_SYNTAX 135 +#define X509V3_R_ISSUER_DECODE_ERROR 136 +#define X509V3_R_MISSING_VALUE 137 +#define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 138 #define X509V3_R_NO_CONFIG_DATABASE 139 -#define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 140 -#define X509V3_R_INVALID_SECTION 141 -#define X509V3_R_INVALID_IPADDRESS 142 -#define X509V3_R_EXTENSION_VALUE_ERROR 143 -#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 144 -#define X509V3_R_INVALID_NULL_ARGUMENT 145 -#define X509V3_R_ERROR_IN_EXTENSION 146 -#define X509V3_R_INVALID_NULL_NAME 147 -#define X509V3_R_BAD_IP_ADDRESS 148 -#define X509V3_R_UNSUPPORTED_OPTION 149 -#define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 150 -#define X509V3_R_EXTENSION_EXISTS 151 -#define X509V3_R_UNKNOWN_OPTION 152 -#define X509V3_R_ERROR_CONVERTING_ZONE 153 -#define X509V3_R_NO_PUBLIC_KEY 154 -#define X509V3_R_INVALID_MULTIPLE_RDNS 155 -#define X509V3_R_INVALID_SYNTAX 156 -#define X509V3_R_UNKNOWN_EXTENSION_NAME 157 -#define X509V3_R_ODD_NUMBER_OF_DIGITS 158 -#define X509V3_R_DISTPOINT_ALREADY_SET 159 -#define X509V3_R_UNSUPPORTED_TYPE 160 -#define X509V3_R_EXTENSION_NAME_ERROR 161 -#define X509V3_R_INVALID_NUMBERS 162 -#define X509V3_R_INVALID_NUMBER 163 -#define X509V3_R_INVALID_OBJECT_IDENTIFIER 164 -#define X509V3_R_DUPLICATE_ZONE_ID 165 -#define X509V3_R_EXTENSION_NOT_FOUND 166 -#define X509V3_R_INVALID_ASNUMBER 167 -#define X509V3_R_CANNOT_FIND_FREE_FUNCTION 168 +#define X509V3_R_NO_ISSUER_CERTIFICATE 140 +#define X509V3_R_NO_ISSUER_DETAILS 141 +#define X509V3_R_NO_POLICY_IDENTIFIER 142 +#define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 143 +#define X509V3_R_NO_PUBLIC_KEY 144 +#define X509V3_R_NO_SUBJECT_DETAILS 145 +#define X509V3_R_ODD_NUMBER_OF_DIGITS 146 +#define X509V3_R_OPERATION_NOT_DEFINED 147 +#define X509V3_R_OTHERNAME_ERROR 148 +#define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 149 +#define X509V3_R_POLICY_PATH_LENGTH 150 +#define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 151 +#define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 152 +#define X509V3_R_SECTION_NOT_FOUND 153 +#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 154 +#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 155 +#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 156 +#define X509V3_R_UNKNOWN_EXTENSION 157 +#define X509V3_R_UNKNOWN_EXTENSION_NAME 158 +#define X509V3_R_UNKNOWN_OPTION 159 +#define X509V3_R_UNSUPPORTED_OPTION 160 +#define X509V3_R_UNSUPPORTED_TYPE 161 +#define X509V3_R_USER_TOO_LONG 162 #endif |