projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Err isn't always malloc failure.
[openssl.git]
/
crypto
/
cms
/
cms_smime.c
diff --git
a/crypto/cms/cms_smime.c
b/crypto/cms/cms_smime.c
index 8b37560821ad14badfb67e5762649719e0879cd2..f45693ac207c31223ad9da3d456313fab3d60658 100644
(file)
--- a/
crypto/cms/cms_smime.c
+++ b/
crypto/cms/cms_smime.c
@@
-714,7
+714,7
@@
int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags)
BIO *cmsbio;
int ret = 0;
if (!(cmsbio = CMS_dataInit(cms, dcont))) {
- CMSerr(CMS_F_CMS_FINAL,
ERR_R_MALLOC_FAILURE
);
+ CMSerr(CMS_F_CMS_FINAL,
CMS_R_CMS_LIB
);
return 0;
}