aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/cms
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2015-07-10 08:56:32 -0400
committerMike DePaulo <mikedep333@gmail.com>2015-07-26 11:34:07 -0400
commit9ece505c5ca92218e41adedfa6d8c47574bd9271 (patch)
treefbb27f113769b94dafa26ab43a5843c7e7454fb6 /openssl/crypto/cms
parent6d650329125473a3b773f03f2fb704a094d92b55 (diff)
downloadvcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.tar.gz
vcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.tar.bz2
vcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.zip
Update openssl: 1.0.2c -> 1.0.2d
Diffstat (limited to 'openssl/crypto/cms')
-rw-r--r--openssl/crypto/cms/cms_smime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/crypto/cms/cms_smime.c b/openssl/crypto/cms/cms_smime.c
index b39ed4899..5522a376a 100644
--- a/openssl/crypto/cms/cms_smime.c
+++ b/openssl/crypto/cms/cms_smime.c
@@ -374,7 +374,7 @@ int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
tmpin = BIO_new_mem_buf(ptr, len);
if (tmpin == NULL) {
CMSerr(CMS_F_CMS_VERIFY, ERR_R_MALLOC_FAILURE);
- return 0;
+ goto err2;
}
} else
tmpin = dcont;
@@ -405,6 +405,7 @@ int CMS_verify(CMS_ContentInfo *cms, STACK_OF(X509) *certs,
else
BIO_free_all(cmsbio);
+ err2:
if (cms_certs)
sk_X509_pop_free(cms_certs, X509_free);
if (crls)