summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x_all.c
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-03-09 09:48:16 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-03-18 17:52:37 +1000
commitadf7e6d1d63890f037625031789ed042187c3947 (patch)
tree48c61a773e33b6df45664d1a46e8be54e0a9092d /crypto/x509/x_all.c
parent1335ca4b0799d1714a2f8e21525cb23edf660e93 (diff)
Add ossl_asn1 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/x_all.c')
-rw-r--r--crypto/x509/x_all.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c
index d80e50219e..d21b0799f6 100644
--- a/crypto/x509/x_all.c
+++ b/crypto/x509/x_all.c
@@ -399,8 +399,8 @@ int X509_digest(const X509 *cert, const EVP_MD *md, unsigned char *data,
memcpy(data, cert->sha1_hash, sizeof(cert->sha1_hash));
return 1;
}
- return (asn1_item_digest_ex(ASN1_ITEM_rptr(X509), md, (char *)cert, data,
- len, cert->libctx, cert->propq));
+ return (ossl_asn1_item_digest_ex(ASN1_ITEM_rptr(X509), md, (char *)cert,
+ data, len, cert->libctx, cert->propq));
}
/* calculate cert digest using the same hash algorithm as in its signature */