diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-03-06 19:08:30 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-03-06 19:08:30 +0000 |
commit | 73eb0972cf35c7d94a401dd2b0037ec362d4d42f (patch) | |
tree | 7bbbceeabad5b364cbca9a5c656746fe624dec25 /crypto/cms | |
parent | 6720779c7efb224eca8c71ffaa8578c83674019c (diff) |
return failure code if I/O error
Diffstat (limited to 'crypto/cms')
-rw-r--r-- | crypto/cms/cms_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |