projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sort openssl.ec, the configuration file for mkerr.pl.
[openssl.git]
/
crypto
/
conf
/
cnf_save.c
diff --git
a/crypto/conf/cnf_save.c
b/crypto/conf/cnf_save.c
index 8524802e18671eb8e9c478d95ef4ede210fad059..1439487526b7b822c14d54117b7ae46fc7b72366 100644
(file)
--- a/
crypto/conf/cnf_save.c
+++ b/
crypto/conf/cnf_save.c
@@
-1,5
+1,5
@@
/* crypto/conf/cnf_save.c */
/* crypto/conf/cnf_save.c */
-/* Copyright (C) 1995-199
7
Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-199
8
Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* All rights reserved.
*
* This package is an SSL implementation written
@@
-57,28
+57,28
@@
*/
#include <stdio.h>
*/
#include <stdio.h>
-#include
"conf.h"
+#include
<openssl/conf.h>
-void print_conf(CONF_VALUE *cv);
+static void print_conf(CONF_VALUE *cv);
+static IMPLEMENT_LHASH_DOALL_FN(print_conf, CONF_VALUE *);
main()
{
LHASH *conf;
long l;
main()
{
LHASH *conf;
long l;
- conf=CONF_load(NULL,"../../apps/
ssleay
.cnf",&l);
+ conf=CONF_load(NULL,"../../apps/
openssl
.cnf",&l);
if (conf == NULL)
{
fprintf(stderr,"error loading config, line %ld\n",l);
exit(1);
}
if (conf == NULL)
{
fprintf(stderr,"error loading config, line %ld\n",l);
exit(1);
}
- lh_doall(conf,
print_conf
);
+ lh_doall(conf,
LHASH_DOALL_FN(print_conf)
);
}
}
-void print_conf(cv)
-CONF_VALUE *cv;
+static void print_conf(CONF_VALUE *cv)
{
int i;
CONF_VALUE *v;
{
int i;
CONF_VALUE *v;