diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2007-08-12 17:44:32 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2007-08-12 17:44:32 +0000 |
commit | 710069c19ee1795dfd614a4ba683d07e1b8e6f81 (patch) | |
tree | dc8522ce253e9841f209433a49b6fa12c932d98f /crypto/pkcs7 | |
parent | ddd3a617ca96914707fc414200b445b52fe6c0ad (diff) |
Fix warnings.
Diffstat (limited to 'crypto/pkcs7')
-rw-r--r-- | crypto/pkcs7/pk7_mime.c | 8 | ||||
-rw-r--r-- | crypto/pkcs7/pk7_smime.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c index 2d321a9e91..de710c3d68 100644 --- a/crypto/pkcs7/pk7_mime.c +++ b/crypto/pkcs7/pk7_mime.c @@ -125,7 +125,7 @@ int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) return 0; } SMIME_crlf_copy(in, bio, flags); - BIO_flush(bio); + (void)BIO_flush(bio); /* Free up successive BIOs until we hit the old output BIO */ do { @@ -158,7 +158,7 @@ static int B64_write_PKCS7(BIO *out, PKCS7 *p7, BIO *in, int flags) */ out = BIO_push(b64, out); r = i2d_PKCS7_bio_stream(out, p7, in, flags); - BIO_flush(out); + (void)BIO_flush(out); BIO_pop(out); BIO_free(b64); return r; @@ -175,7 +175,7 @@ static PKCS7 *B64_read_PKCS7(BIO *bio) bio = BIO_push(b64, bio); if(!(p7 = d2i_PKCS7_bio(bio, NULL))) PKCS7err(PKCS7_F_B64_READ_PKCS7,PKCS7_R_DECODE_ERROR); - BIO_flush(bio); + (void)BIO_flush(bio); bio = BIO_pop(bio); BIO_free(b64); return p7; @@ -542,7 +542,7 @@ int SMIME_crlf_copy(BIO *in, BIO *out, int flags) if(eol) BIO_write(out, "\r\n", 2); } } - BIO_flush(out); + (void)BIO_flush(out); BIO_pop(out); BIO_free(bf); return 1; diff --git a/crypto/pkcs7/pk7_smime.c b/crypto/pkcs7/pk7_smime.c index 39b18a4a46..ac4afc9fec 100644 --- a/crypto/pkcs7/pk7_smime.c +++ b/crypto/pkcs7/pk7_smime.c @@ -124,7 +124,7 @@ int PKCS7_final(PKCS7 *p7, BIO *data, int flags) SMIME_crlf_copy(data, p7bio, flags); - BIO_flush(p7bio); + (void)BIO_flush(p7bio); if (!PKCS7_dataFinal(p7,p7bio)) |