PR:1880
authorDr. Stephen Henson <steve@openssl.org>
Wed, 1 Apr 2009 14:59:18 +0000 (14:59 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 1 Apr 2009 14:59:18 +0000 (14:59 +0000)
Load config in ts utility.

apps/ts.c

index 74e7e932b3abbd257745a6e8d8dcef73b04f254d..d73b4eb5addf81fce577b739b2f93058aaf7ce85 100644 (file)
--- a/apps/ts.c
+++ b/apps/ts.c
@@ -165,6 +165,9 @@ int MAIN(int argc, char **argv)
                BIO_set_fp(bio_err, stderr, BIO_NOCLOSE | BIO_FP_TEXT);
                }
 
+       if (!load_config(bio_err, NULL))
+               goto cleanup;
+
        for (argc--, argv++; argc > 0; argc--, argv++)
                {
                if (strcmp(*argv, "-config") == 0)