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

Avoid double call to BIO_free().

apps/pkcs8.c

index 43ff86d..c93ce77 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)