summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_mime.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_mime.c
parent0862caf27efbdad6da3563842d4812c7d0f763dd (diff)
fix function codes for error
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r--crypto/pkcs7/pk7_mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c
index e01e936679..211534d87a 100644
--- a/crypto/pkcs7/pk7_mime.c
+++ b/crypto/pkcs7/pk7_mime.c
@@ -121,7 +121,7 @@ int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags)
bio = BIO_new_PKCS7(out, p7);
if (!bio)
{
- PKCS7err(PKCS7_F_B64_WRITE_PKCS7,ERR_R_MALLOC_FAILURE);
+ PKCS7err(PKCS7_F_PKCS7_BIO_STREAM,ERR_R_MALLOC_FAILURE);
return 0;
}
SMIME_crlf_copy(in, bio, flags);