Codebase list openssl / 4e5d507
Run make update Reviewed-by: Richard Levitte <levitte@openssl.org> Matt Caswell 2 years ago
5 changed file(s) with 16 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
16521652 X509V3_F_I2S_ASN1_IA5STRING:149:i2s_ASN1_IA5STRING
16531653 X509V3_F_I2S_ASN1_INTEGER:120:i2s_ASN1_INTEGER
16541654 X509V3_F_I2V_AUTHORITY_INFO_ACCESS:138:i2v_AUTHORITY_INFO_ACCESS
1655 X509V3_F_I2V_AUTHORITY_KEYID:173:i2v_AUTHORITY_KEYID
16551656 X509V3_F_LEVEL_ADD_NODE:168:level_add_node
16561657 X509V3_F_NOTICE_SECTION:132:notice_section
16571658 X509V3_F_NREF_NOS:133:nref_nos
16921693 X509V3_F_V2I_TLS_FEATURE:165:v2i_TLS_FEATURE
16931694 X509V3_F_V3_GENERIC_EXTENSION:116:v3_generic_extension
16941695 X509V3_F_X509V3_ADD1_I2D:140:X509V3_add1_i2d
1696 X509V3_F_X509V3_ADD_LEN_VALUE:174:x509v3_add_len_value
16951697 X509V3_F_X509V3_ADD_VALUE:105:X509V3_add_value
16961698 X509V3_F_X509V3_EXT_ADD:104:X509V3_EXT_add
16971699 X509V3_F_X509V3_EXT_ADD_ALIAS:106:X509V3_EXT_add_alias
4444 if (akeyid->keyid) {
4545 tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length);
4646 if (tmp == NULL) {
47 X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
47 X509V3err(X509V3_F_I2V_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
4848 return NULL;
4949 }
5050 if (!X509V3_add_value("keyid", tmp, &extlist)) {
5151 OPENSSL_free(tmp);
52 X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_X509_LIB);
52 X509V3err(X509V3_F_I2V_AUTHORITY_KEYID, ERR_R_X509_LIB);
5353 goto err;
5454 }
5555 OPENSSL_free(tmp);
5757 if (akeyid->issuer) {
5858 tmpextlist = i2v_GENERAL_NAMES(NULL, akeyid->issuer, extlist);
5959 if (tmpextlist == NULL) {
60 X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_X509_LIB);
60 X509V3err(X509V3_F_I2V_AUTHORITY_KEYID, ERR_R_X509_LIB);
6161 goto err;
6262 }
6363 extlist = tmpextlist;
6565 if (akeyid->serial) {
6666 tmp = OPENSSL_buf2hexstr(akeyid->serial->data, akeyid->serial->length);
6767 if (tmp == NULL) {
68 X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
68 X509V3err(X509V3_F_I2V_AUTHORITY_KEYID, ERR_R_MALLOC_FAILURE);
6969 goto err;
7070 }
7171 if (!X509V3_add_value("serial", tmp, &extlist)) {
7272 OPENSSL_free(tmp);
73 X509V3err(X509V3_F_V2I_AUTHORITY_KEYID, ERR_R_X509_LIB);
73 X509V3err(X509V3_F_I2V_AUTHORITY_KEYID, ERR_R_X509_LIB);
7474 goto err;
7575 }
7676 OPENSSL_free(tmp);
6565 goto err;
6666 return 1;
6767 err:
68 X509V3err(X509V3_F_X509V3_ADD_VALUE, ERR_R_MALLOC_FAILURE);
68 X509V3err(X509V3_F_X509V3_ADD_LEN_VALUE, ERR_R_MALLOC_FAILURE);
6969 if (sk_allocated) {
7070 sk_CONF_VALUE_free(*extlist);
7171 *extlist = NULL;
00 /*
11 * Generated by util/mkerr.pl DO NOT EDIT
2 * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
33 *
44 * Licensed under the OpenSSL license (the "License"). You may not use
55 * this file except in compliance with the License. You can obtain a copy
3838 "i2s_ASN1_INTEGER"},
3939 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_I2V_AUTHORITY_INFO_ACCESS, 0),
4040 "i2v_AUTHORITY_INFO_ACCESS"},
41 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_I2V_AUTHORITY_KEYID, 0),
42 "i2v_AUTHORITY_KEYID"},
4143 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_LEVEL_ADD_NODE, 0), "level_add_node"},
4244 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_NOTICE_SECTION, 0), "notice_section"},
4345 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_NREF_NOS, 0), "nref_nos"},
103105 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_V3_GENERIC_EXTENSION, 0),
104106 "v3_generic_extension"},
105107 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_ADD1_I2D, 0), "X509V3_add1_i2d"},
108 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_ADD_LEN_VALUE, 0),
109 "x509v3_add_len_value"},
106110 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_ADD_VALUE, 0),
107111 "X509V3_add_value"},
108112 {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_EXT_ADD, 0), "X509V3_EXT_add"},
00 /*
11 * Generated by util/mkerr.pl DO NOT EDIT
2 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
2 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
33 *
44 * Licensed under the OpenSSL license (the "License"). You may not use
55 * this file except in compliance with the License. You can obtain a copy
3737 # define X509V3_F_I2S_ASN1_IA5STRING 149
3838 # define X509V3_F_I2S_ASN1_INTEGER 120
3939 # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 138
40 # define X509V3_F_I2V_AUTHORITY_KEYID 173
4041 # define X509V3_F_LEVEL_ADD_NODE 168
4142 # define X509V3_F_NOTICE_SECTION 132
4243 # define X509V3_F_NREF_NOS 133
7778 # define X509V3_F_V2I_TLS_FEATURE 165
7879 # define X509V3_F_V3_GENERIC_EXTENSION 116
7980 # define X509V3_F_X509V3_ADD1_I2D 140
81 # define X509V3_F_X509V3_ADD_LEN_VALUE 174
8082 # define X509V3_F_X509V3_ADD_VALUE 105
8183 # define X509V3_F_X509V3_EXT_ADD 104
8284 # define X509V3_F_X509V3_EXT_ADD_ALIAS 106