summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-10 16:29:32 +0000
committerBodo Möller <bodo@openssl.org>1999-06-10 16:29:32 +0000
commitd58d092bc9f0a541ce5f0b265ee819f7ab086560 (patch)
tree497575b6ed095b6672e9f17ffb3f20223d3b6b36 /apps/req.c
parent9d9b559ef03e481d2feec5a3a9a28f4a41f8189a (diff)
Avoid warnings.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/req.c b/apps/req.c
index cb3088807a..fd23f578d7 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -245,7 +245,7 @@ int MAIN(int argc, char **argv)
if ((dsa_params=PEM_read_bio_DSAparams(in,NULL,NULL)) == NULL)
{
ERR_clear_error();
- BIO_reset(in);
+ (void)BIO_reset(in);
if ((xtmp=PEM_read_bio_X509(in,NULL,NULL)) == NULL)
{
BIO_printf(bio_err,"unable to load DSA parameters from file\n");
@@ -979,7 +979,7 @@ static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
MS_STATIC char buf[1024];
BIO_printf(bio_err,"%s [%s]:",text,def);
- BIO_flush(bio_err);
+ (void)BIO_flush(bio_err);
if (value != NULL)
{
strcpy(buf,value);
@@ -1040,7 +1040,7 @@ static int add_attribute_object(STACK_OF(X509_ATTRIBUTE) *n, char *text,
start:
BIO_printf(bio_err,"%s [%s]:",text,def);
- BIO_flush(bio_err);
+ (void)BIO_flush(bio_err);
if (value != NULL)
{
strcpy(buf,value);
@@ -1123,7 +1123,7 @@ static void MS_CALLBACK req_cb(int p, int n, void *arg)
if (p == 2) c='*';
if (p == 3) c='\n';
BIO_write((BIO *)arg,&c,1);
- BIO_flush((BIO *)arg);
+ (void)BIO_flush((BIO *)arg);
#ifdef LINT
p=n;
#endif