X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fconf%2Ftest.c;h=7fab85053e4cb94abd929cf243443c2802055b61;hp=899ee2a067e515ad94e8edd06cec6dea82e9f25f;hb=de10f6900d71a9db99d41ded7227700ac1580bdb;hpb=58964a492275ca9a59a0cd9c8155cb2491b4b909 diff --git a/crypto/conf/test.c b/crypto/conf/test.c index 899ee2a067..7fab85053e 100644 --- a/crypto/conf/test.c +++ b/crypto/conf/test.c @@ -58,7 +58,8 @@ #include #include -#include "conf.h" +#include +#include main() { @@ -66,7 +67,10 @@ main() long eline; char *s,*s2; - conf=CONF_load(NULL,"ssleay.conf",&eline); +#ifdef USE_WIN32 + CONF_set_default_method(CONF_WIN32); +#endif + conf=CONF_load(NULL,"ssleay.cnf",&eline); if (conf == NULL) { ERR_load_crypto_strings(); @@ -87,5 +91,8 @@ main() s=CONF_get_string(conf,"s_client","cipher1"); printf("s_client:cipher1=%s\n",(s == NULL)?"NULL":s); + printf("---------------------------- DUMP ------------------------\n"); + CONF_dump_fp(conf, stdout); + exit(0); }