Add an explicit load_config() call so any added algorithms are
authorDr. Stephen Henson <steve@openssl.org>
Tue, 4 Apr 2006 18:47:20 +0000 (18:47 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 4 Apr 2006 18:47:20 +0000 (18:47 +0000)
visible.

apps/openssl.c

index 26c7297d66edf0a25040d020c87044e107368ccf..a9f3df0955687f2177e9e413c319baffa86078b1 100644 (file)
@@ -432,6 +432,10 @@ static int do_cmd(LHASH *prog, int argc, char *argv[])
                bio_stdout = BIO_push(tmpbio, bio_stdout);
                }
 #endif
                bio_stdout = BIO_push(tmpbio, bio_stdout);
                }
 #endif
+
+               if (!load_config(bio_err, NULL))
+                       goto end;
+
                if (list_type == FUNC_TYPE_PKEY)
                        list_pkey(bio_stdout);  
                else
                if (list_type == FUNC_TYPE_PKEY)
                        list_pkey(bio_stdout);  
                else