PR: 2038
authorDr. Stephen Henson <steve@openssl.org>
Fri, 11 Sep 2009 11:03:31 +0000 (11:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 11 Sep 2009 11:03:31 +0000 (11:03 +0000)
Submitted by: Artem Chuprina <ran@cryptocom.ru>
Approved by: steve@openssl.org

Avoid double call to BIO_free().

apps/pkcs8.c

index 43ff86d4f7221e50101669b01c7b9b4584f836d6..c93ce7734de9b325d35bec5aa870b5bbb9fc4f2a 100644 (file)
@@ -275,7 +275,6 @@ int MAIN(int argc, char **argv)
                }
        if (topk8)
                {
-               BIO_free(in); /* Not needed in this section */
                pkey = load_key(bio_err, infile, informat, 1,
                        passin, e, "key");
                if (!pkey)