diff options
Diffstat (limited to 'src/lib/libcrypto/conf/conf.h')
-rw-r--r-- | src/lib/libcrypto/conf/conf.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/conf/conf.h b/src/lib/libcrypto/conf/conf.h index ba7fb69794..095066d31b 100644 --- a/src/lib/libcrypto/conf/conf.h +++ b/src/lib/libcrypto/conf/conf.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: conf.h,v 1.13 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: conf.h,v 1.14 2015/02/07 13:19:15 doug Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -149,9 +149,6 @@ struct conf_st { | |||
149 | CONF *NCONF_new(CONF_METHOD *meth); | 149 | CONF *NCONF_new(CONF_METHOD *meth); |
150 | CONF_METHOD *NCONF_default(void); | 150 | CONF_METHOD *NCONF_default(void); |
151 | CONF_METHOD *NCONF_WIN32(void); | 151 | CONF_METHOD *NCONF_WIN32(void); |
152 | #if 0 /* Just to give you an idea of what I have in mind */ | ||
153 | CONF_METHOD *NCONF_XML(void); | ||
154 | #endif | ||
155 | void NCONF_free(CONF *conf); | 152 | void NCONF_free(CONF *conf); |
156 | void NCONF_free_data(CONF *conf); | 153 | void NCONF_free_data(CONF *conf); |
157 | 154 | ||
@@ -165,12 +162,7 @@ int NCONF_get_number_e(const CONF *conf, const char *group, const char *name, | |||
165 | int NCONF_dump_fp(const CONF *conf, FILE *out); | 162 | int NCONF_dump_fp(const CONF *conf, FILE *out); |
166 | int NCONF_dump_bio(const CONF *conf, BIO *out); | 163 | int NCONF_dump_bio(const CONF *conf, BIO *out); |
167 | 164 | ||
168 | #if 0 /* The following function has no error checking, | ||
169 | and should therefore be avoided */ | ||
170 | long NCONF_get_number(CONF *conf, char *group, char *name); | ||
171 | #else | ||
172 | #define NCONF_get_number(c,g,n,r) NCONF_get_number_e(c,g,n,r) | 165 | #define NCONF_get_number(c,g,n,r) NCONF_get_number_e(c,g,n,r) |
173 | #endif | ||
174 | 166 | ||
175 | /* Module functions */ | 167 | /* Module functions */ |
176 | 168 | ||