From: Dr. Stephen Henson Date: Tue, 6 Mar 2012 19:08:30 +0000 (+0000) Subject: return failure code if I/O error X-Git-Tag: OpenSSL_0_9_8u~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73eb0972cf35c7d94a401dd2b0037ec362d4d42f;p=oweals%2Fopenssl.git return failure code if I/O error --- diff --git a/crypto/cms/cms_io.c b/crypto/cms/cms_io.c index 30f5ddfe6d..6d3edba5f7 100644 --- a/crypto/cms/cms_io.c +++ b/crypto/cms/cms_io.c @@ -112,7 +112,7 @@ static int cms_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags, cmsbio = tmpbio; } - return 1; + return r; }