X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fpkcs12.c;h=45d979712a6328f319092b80bb0923498a44590a;hp=1550c07240594da630e373fa8407689a160ea83e;hb=d58d092bc9f0a541ce5f0b265ee819f7ab086560;hpb=9d9b559ef03e481d2feec5a3a9a28f4a41f8189a diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 1550c07240..45d979712a 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -293,7 +293,7 @@ if (export_cert) { unsigned int keyidlen; /* Get private key so we can match it to a certificate */ key = PEM_read_bio_PrivateKey(inkey ? inkey : in, NULL, NULL); - if (!inkey) BIO_reset(in); + if (!inkey) (void)BIO_reset(in); if (!key) { BIO_printf (bio_err, "Error loading private key\n"); ERR_print_errors(bio_err);