summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_lib.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-04-24 01:06:19 +0000
committerBodo Möller <bodo@openssl.org>2007-04-24 01:06:19 +0000
commita291745eebe4ea0f4490bf4354988cdc15cd0a5b (patch)
tree1ff5bcc97763b0e10b54d79505458121a11d1283 /crypto/pkcs7/pk7_lib.c
parent0862caf27efbdad6da3563842d4812c7d0f763dd (diff)
fix function codes for error
Diffstat (limited to 'crypto/pkcs7/pk7_lib.c')
-rw-r--r--crypto/pkcs7/pk7_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_lib.c b/crypto/pkcs7/pk7_lib.c
index dd321c503a..9ad1448bf7 100644
--- a/crypto/pkcs7/pk7_lib.c
+++ b/crypto/pkcs7/pk7_lib.c
@@ -350,7 +350,7 @@ int PKCS7_add_crl(PKCS7 *p7, X509_CRL *crl)
*sk=sk_X509_CRL_new_null();
if (*sk == NULL)
{
- PKCS7err(PKCS7_F_PKCS7_ADD_CERTIFICATE,ERR_R_MALLOC_FAILURE);
+ PKCS7err(PKCS7_F_PKCS7_ADD_CRL,ERR_R_MALLOC_FAILURE);
return 0;
}