Commit 8bf78043 authored by FdaSilvaYY's avatar FdaSilvaYY Committed by Rich Salz
Browse files

Indent and dead code cleanup



tofree pointer  is no more used...

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1103)
parent 6aa36e8e
Loading
Loading
Loading
Loading
+41 −42
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ int ca_main(int argc, char **argv)
    char *outdir = NULL, *outfile = NULL, *rev_arg = NULL, *ser_status = NULL;
    char *serialfile = NULL, *startdate = NULL, *subj = NULL;
    char *prog, *enddate = NULL, *tmp_email_dn = NULL;
    char *dbfile = NULL, *f, *randfile = NULL, *tofree = NULL;
    char *dbfile = NULL, *f, *randfile = NULL;
    char buf[3][BSIZE];
    char *const *pp;
    const char *p;
@@ -1230,7 +1230,6 @@ end_of_options:
    /*****************************************************************/
    ret = 0;
 end:
    OPENSSL_free(tofree);
    BIO_free_all(Cout);
    BIO_free_all(Sout);
    BIO_free_all(out);
+2 −2
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ int srp_main(int argc, char **argv)
    int doupdatedb = 0, mode = OPT_ERR;
    char *user = NULL, *passinarg = NULL, *passoutarg = NULL;
    char *passin = NULL, *passout = NULL, *gN = NULL, *userinfo = NULL;
    char *randfile = NULL, *tofree = NULL, *section = NULL;
    char *randfile = NULL, *section = NULL;
    char **gNrow = NULL, *configfile = NULL;
    char *srpvfile = NULL, **pp, *prog;
    OPTION_CHOICE o;
@@ -596,7 +596,7 @@ int srp_main(int argc, char **argv)

    if (verbose)
        BIO_printf(bio_err, "SRP terminating with code %d.\n", ret);
    OPENSSL_free(tofree);

    if (ret)
        ERR_print_errors(bio_err);
    if (randfile)