diff options
Diffstat (limited to 'src/lib/libcrypto/conf/cnf_save.c')
-rw-r--r-- | src/lib/libcrypto/conf/cnf_save.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/conf/cnf_save.c b/src/lib/libcrypto/conf/cnf_save.c index c9018de10e..1439487526 100644 --- a/src/lib/libcrypto/conf/cnf_save.c +++ b/src/lib/libcrypto/conf/cnf_save.c | |||
@@ -57,28 +57,28 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "conf.h" | 60 | #include <openssl/conf.h> |
61 | 61 | ||
62 | void print_conf(CONF_VALUE *cv); | 62 | static void print_conf(CONF_VALUE *cv); |
63 | static IMPLEMENT_LHASH_DOALL_FN(print_conf, CONF_VALUE *); | ||
63 | 64 | ||
64 | main() | 65 | main() |
65 | { | 66 | { |
66 | LHASH *conf; | 67 | LHASH *conf; |
67 | long l; | 68 | long l; |
68 | 69 | ||
69 | conf=CONF_load(NULL,"../../apps/ssleay.cnf",&l); | 70 | conf=CONF_load(NULL,"../../apps/openssl.cnf",&l); |
70 | if (conf == NULL) | 71 | if (conf == NULL) |
71 | { | 72 | { |
72 | fprintf(stderr,"error loading config, line %ld\n",l); | 73 | fprintf(stderr,"error loading config, line %ld\n",l); |
73 | exit(1); | 74 | exit(1); |
74 | } | 75 | } |
75 | 76 | ||
76 | lh_doall(conf,print_conf); | 77 | lh_doall(conf,LHASH_DOALL_FN(print_conf)); |
77 | } | 78 | } |
78 | 79 | ||
79 | 80 | ||
80 | void print_conf(cv) | 81 | static void print_conf(CONF_VALUE *cv) |
81 | CONF_VALUE *cv; | ||
82 | { | 82 | { |
83 | int i; | 83 | int i; |
84 | CONF_VALUE *v; | 84 | CONF_VALUE *v; |