Run make update
Reviewed-by: Richard Levitte <levitte@openssl.org>
Matt Caswell
2 years ago
1652 | 1652 | X509V3_F_I2S_ASN1_IA5STRING:149:i2s_ASN1_IA5STRING |
1653 | 1653 | X509V3_F_I2S_ASN1_INTEGER:120:i2s_ASN1_INTEGER |
1654 | 1654 | X509V3_F_I2V_AUTHORITY_INFO_ACCESS:138:i2v_AUTHORITY_INFO_ACCESS |
1655 | X509V3_F_I2V_AUTHORITY_KEYID:173:i2v_AUTHORITY_KEYID | |
1655 | 1656 | X509V3_F_LEVEL_ADD_NODE:168:level_add_node |
1656 | 1657 | X509V3_F_NOTICE_SECTION:132:notice_section |
1657 | 1658 | X509V3_F_NREF_NOS:133:nref_nos |
1692 | 1693 | X509V3_F_V2I_TLS_FEATURE:165:v2i_TLS_FEATURE |
1693 | 1694 | X509V3_F_V3_GENERIC_EXTENSION:116:v3_generic_extension |
1694 | 1695 | X509V3_F_X509V3_ADD1_I2D:140:X509V3_add1_i2d |
1696 | X509V3_F_X509V3_ADD_LEN_VALUE:174:x509v3_add_len_value | |
1695 | 1697 | X509V3_F_X509V3_ADD_VALUE:105:X509V3_add_value |
1696 | 1698 | X509V3_F_X509V3_EXT_ADD:104:X509V3_EXT_add |
1697 | 1699 | X509V3_F_X509V3_EXT_ADD_ALIAS:106:X509V3_EXT_add_alias |
44 | 44 | if (akeyid->keyid) { |
45 | 45 | tmp = OPENSSL_buf2hexstr(akeyid->keyid->data, akeyid->keyid->length); |
46 | 46 | 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); | |
48 | 48 | return NULL; |
49 | 49 | } |
50 | 50 | if (!X509V3_add_value("keyid", tmp, &extlist)) { |
51 | 51 | 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); | |
53 | 53 | goto err; |
54 | 54 | } |
55 | 55 | OPENSSL_free(tmp); |
57 | 57 | if (akeyid->issuer) { |
58 | 58 | tmpextlist = i2v_GENERAL_NAMES(NULL, akeyid->issuer, extlist); |
59 | 59 | 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); | |
61 | 61 | goto err; |
62 | 62 | } |
63 | 63 | extlist = tmpextlist; |
65 | 65 | if (akeyid->serial) { |
66 | 66 | tmp = OPENSSL_buf2hexstr(akeyid->serial->data, akeyid->serial->length); |
67 | 67 | 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); | |
69 | 69 | goto err; |
70 | 70 | } |
71 | 71 | if (!X509V3_add_value("serial", tmp, &extlist)) { |
72 | 72 | 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); | |
74 | 74 | goto err; |
75 | 75 | } |
76 | 76 | OPENSSL_free(tmp); |
65 | 65 | goto err; |
66 | 66 | return 1; |
67 | 67 | err: |
68 | X509V3err(X509V3_F_X509V3_ADD_VALUE, ERR_R_MALLOC_FAILURE); | |
68 | X509V3err(X509V3_F_X509V3_ADD_LEN_VALUE, ERR_R_MALLOC_FAILURE); | |
69 | 69 | if (sk_allocated) { |
70 | 70 | sk_CONF_VALUE_free(*extlist); |
71 | 71 | *extlist = NULL; |
0 | 0 | /* |
1 | 1 | * 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. | |
3 | 3 | * |
4 | 4 | * Licensed under the OpenSSL license (the "License"). You may not use |
5 | 5 | * this file except in compliance with the License. You can obtain a copy |
38 | 38 | "i2s_ASN1_INTEGER"}, |
39 | 39 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_I2V_AUTHORITY_INFO_ACCESS, 0), |
40 | 40 | "i2v_AUTHORITY_INFO_ACCESS"}, |
41 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_I2V_AUTHORITY_KEYID, 0), | |
42 | "i2v_AUTHORITY_KEYID"}, | |
41 | 43 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_LEVEL_ADD_NODE, 0), "level_add_node"}, |
42 | 44 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_NOTICE_SECTION, 0), "notice_section"}, |
43 | 45 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_NREF_NOS, 0), "nref_nos"}, |
103 | 105 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_V3_GENERIC_EXTENSION, 0), |
104 | 106 | "v3_generic_extension"}, |
105 | 107 | {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"}, | |
106 | 110 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_ADD_VALUE, 0), |
107 | 111 | "X509V3_add_value"}, |
108 | 112 | {ERR_PACK(ERR_LIB_X509V3, X509V3_F_X509V3_EXT_ADD, 0), "X509V3_EXT_add"}, |
0 | 0 | /* |
1 | 1 | * 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. | |
3 | 3 | * |
4 | 4 | * Licensed under the OpenSSL license (the "License"). You may not use |
5 | 5 | * this file except in compliance with the License. You can obtain a copy |
37 | 37 | # define X509V3_F_I2S_ASN1_IA5STRING 149 |
38 | 38 | # define X509V3_F_I2S_ASN1_INTEGER 120 |
39 | 39 | # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 138 |
40 | # define X509V3_F_I2V_AUTHORITY_KEYID 173 | |
40 | 41 | # define X509V3_F_LEVEL_ADD_NODE 168 |
41 | 42 | # define X509V3_F_NOTICE_SECTION 132 |
42 | 43 | # define X509V3_F_NREF_NOS 133 |
77 | 78 | # define X509V3_F_V2I_TLS_FEATURE 165 |
78 | 79 | # define X509V3_F_V3_GENERIC_EXTENSION 116 |
79 | 80 | # define X509V3_F_X509V3_ADD1_I2D 140 |
81 | # define X509V3_F_X509V3_ADD_LEN_VALUE 174 | |
80 | 82 | # define X509V3_F_X509V3_ADD_VALUE 105 |
81 | 83 | # define X509V3_F_X509V3_EXT_ADD 104 |
82 | 84 | # define X509V3_F_X509V3_EXT_ADD_ALIAS 106 |