projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade44dc
)
Err isn't always malloc failure.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 1 Aug 2015 14:37:01 +0000
(15:37 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 12 Aug 2015 12:54:56 +0000
(13:54 +0100)
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/cms/cms_smime.c
patch
|
blob
|
history
diff --git
a/crypto/cms/cms_smime.c
b/crypto/cms/cms_smime.c
index b33bc1d9584affdf1abef45055b4207f75008054..6bed211384899ed3a70a8748d955055680057ad9 100644
(file)
--- a/
crypto/cms/cms_smime.c
+++ b/
crypto/cms/cms_smime.c
@@
-804,7
+804,7
@@
int CMS_final(CMS_ContentInfo *cms, BIO *data, BIO *dcont, unsigned int flags)
int ret = 0;
if ((cmsbio = CMS_dataInit(cms, dcont)) == NULL) {
- CMSerr(CMS_F_CMS_FINAL,
ERR_R_MALLOC_FAILURE
);
+ CMSerr(CMS_F_CMS_FINAL,
CMS_R_CMS_LIB
);
return 0;
}