summaryrefslogtreecommitdiffstats
path: root/src/crypto/x509/a_digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/x509/a_digest.c')
-rw-r--r--src/crypto/x509/a_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/x509/a_digest.c b/src/crypto/x509/a_digest.c
index 430e2e6..6060bbd 100644
--- a/src/crypto/x509/a_digest.c
+++ b/src/crypto/x509/a_digest.c
@@ -71,7 +71,7 @@ int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data,
i=i2d(data,NULL);
if ((str=(unsigned char *)OPENSSL_malloc(i)) == NULL)
{
- OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
+ OPENSSL_PUT_ERROR(X509, ASN1_digest, ERR_R_MALLOC_FAILURE);
return(0);
}
p=str;