Commit d278284e authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix some code maintenance issues



Various instances of variables being written to, but then never read.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
parent a043d0b9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -292,7 +292,6 @@ int enc_main(int argc, char **argv)
        }
    }
    argc = opt_num_rest();
    argv = opt_rest();

    if (cipher && EVP_CIPHER_flags(cipher) & EVP_CIPH_FLAG_AEAD_CIPHER) {
        BIO_printf(bio_err, "%s: AEAD ciphers not supported\n", prog);
+0 −1
Original line number Diff line number Diff line
@@ -107,7 +107,6 @@ int errstr_main(int argc, char **argv)
        }
    }
    argc = opt_num_rest();
    argv = opt_rest();

    ret = 0;
    for (argv = opt_rest(); *argv; argv++) {
+0 −1
Original line number Diff line number Diff line
@@ -492,7 +492,6 @@ int help_main(int argc, char **argv)
        }
    }
    argc = opt_num_rest();
    argv = opt_rest();

    if (argc != 0) {
        BIO_printf(bio_err, "Usage: %s\n", prog);
+0 −1
Original line number Diff line number Diff line
@@ -320,7 +320,6 @@ int ts_main(int argc, char **argv)
        }
    }
    argc = opt_num_rest();
    argv = opt_rest();
    if (mode == OPT_ERR || argc != 0)
        goto opthelp;

+1 −1
Original line number Diff line number Diff line
@@ -763,7 +763,7 @@ int x509_main(int argc, char **argv)
                BIO_printf(out, "/*\n"
                                " * Subject: %s\n", buf);

                m = X509_NAME_oneline(X509_get_issuer_name(x), buf, sizeof buf);
                X509_NAME_oneline(X509_get_issuer_name(x), buf, sizeof buf);
                BIO_printf(out, " * Issuer:  %s\n"
                                " */\n", buf);

Loading