diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/conf/test.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/test.c b/src/lib/libcrypto/conf/test.c index 9390a48baf..7fab85053e 100644 --- a/src/lib/libcrypto/conf/test.c +++ b/src/lib/libcrypto/conf/test.c | |||
| @@ -67,7 +67,10 @@ main() | |||
| 67 | long eline; | 67 | long eline; |
| 68 | char *s,*s2; | 68 | char *s,*s2; |
| 69 | 69 | ||
| 70 | conf=CONF_load(NULL,"openssl.conf",&eline); | 70 | #ifdef USE_WIN32 |
| 71 | CONF_set_default_method(CONF_WIN32); | ||
| 72 | #endif | ||
| 73 | conf=CONF_load(NULL,"ssleay.cnf",&eline); | ||
| 71 | if (conf == NULL) | 74 | if (conf == NULL) |
| 72 | { | 75 | { |
| 73 | ERR_load_crypto_strings(); | 76 | ERR_load_crypto_strings(); |
| @@ -88,5 +91,8 @@ main() | |||
| 88 | s=CONF_get_string(conf,"s_client","cipher1"); | 91 | s=CONF_get_string(conf,"s_client","cipher1"); |
| 89 | printf("s_client:cipher1=%s\n",(s == NULL)?"NULL":s); | 92 | printf("s_client:cipher1=%s\n",(s == NULL)?"NULL":s); |
| 90 | 93 | ||
| 94 | printf("---------------------------- DUMP ------------------------\n"); | ||
| 95 | CONF_dump_fp(conf, stdout); | ||
| 96 | |||
| 91 | exit(0); | 97 | exit(0); |
| 92 | } | 98 | } |
