Avoid warnings.
[openssl.git] / apps / pkcs12.c
index 1550c07240594da630e373fa8407689a160ea83e..45d979712a6328f319092b80bb0923498a44590a 100644 (file)
@@ -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);