diff options
author | Shane Lontis <shane.lontis@oracle.com> | 2021-03-09 10:52:15 +1000 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-03-18 17:52:37 +1000 |
commit | 47864aeafd2ca0ea551f00df99c4c598b53c5912 (patch) | |
tree | 5150af4fd7dbab314c6b6d2a2440e92a0e96441a /crypto/x509/v3_cpols.c | |
parent | 4158b0dc1d73ce73b9a924b77205f4d2b67abdc1 (diff) | |
download | openssl-new-47864aeafd2ca0ea551f00df99c4c598b53c5912.tar.gz |
Add ossl_v3 symbols
Partial fix for #12964
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14473)
Diffstat (limited to 'crypto/x509/v3_cpols.c')
-rw-r--r-- | crypto/x509/v3_cpols.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/v3_cpols.c b/crypto/x509/v3_cpols.c index 55aa5cac05..40dc1e3d44 100644 --- a/crypto/x509/v3_cpols.c +++ b/crypto/x509/v3_cpols.c @@ -35,7 +35,7 @@ static int nref_nos(STACK_OF(ASN1_INTEGER) *nnums, STACK_OF(CONF_VALUE) *nos); static int displaytext_str2tag(const char *tagstr, unsigned int *tag_len); static int displaytext_get_tag_len(const char *tagstr); -const X509V3_EXT_METHOD v3_cpols = { +const X509V3_EXT_METHOD ossl_v3_cpols = { NID_certificate_policies, 0, ASN1_ITEM_ref(CERTIFICATEPOLICIES), 0, 0, 0, 0, 0, 0, @@ -185,7 +185,7 @@ static POLICYINFO *policy_section(X509V3_CTX *ctx, } pol->policyid = pobj; - } else if (!v3_name_cmp(cnf->name, "CPS")) { + } else if (!ossl_v3_name_cmp(cnf->name, "CPS")) { if (pol->qualifiers == NULL) pol->qualifiers = sk_POLICYQUALINFO_new_null(); if ((qual = POLICYQUALINFO_new()) == NULL) @@ -201,7 +201,7 @@ static POLICYINFO *policy_section(X509V3_CTX *ctx, if (!ASN1_STRING_set(qual->d.cpsuri, cnf->value, strlen(cnf->value))) goto merr; - } else if (!v3_name_cmp(cnf->name, "userNotice")) { + } else if (!ossl_v3_name_cmp(cnf->name, "userNotice")) { STACK_OF(CONF_VALUE) *unot; if (*cnf->value != '@') { ERR_raise(ERR_LIB_X509V3, X509V3_R_EXPECTED_A_SECTION_NAME); |