From: Richard Levitte Date: Wed, 26 Apr 2000 12:13:19 +0000 (+0000) Subject: Clarifications and removal of double declaration... X-Git-Tag: OpenSSL_0_9_5~52 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=21346b7a04f68c97347488078deda4b175a8672b Clarifications and removal of double declaration... --- diff --git a/crypto/conf/conf_api.c b/crypto/conf/conf_api.c index 975d5c7abe..29989270ab 100644 --- a/crypto/conf/conf_api.c +++ b/crypto/conf/conf_api.c @@ -66,7 +66,7 @@ static void value_free_stack(CONF_VALUE *a,LHASH *conf); static unsigned long hash(CONF_VALUE *v); static int cmp_conf(CONF_VALUE *a,CONF_VALUE *b); -/* This was get_section */ +/* Up until OpenSSL 0.9.5a, this was get_section */ CONF_VALUE *_CONF_get_section(CONF *conf, char *section) { CONF_VALUE *v,vv; @@ -78,7 +78,7 @@ CONF_VALUE *_CONF_get_section(CONF *conf, char *section) return(v); } -/* This was CONF_get_section */ +/* Up until OpenSSL 0.9.5a, this was CONF_get_section */ STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section) { CONF_VALUE *v; @@ -247,7 +247,7 @@ static int cmp_conf(CONF_VALUE *a, CONF_VALUE *b) return((a->name == NULL)?-1:1); } -/* This was new_section */ +/* Up until OpenSSL 0.9.5a, this was new_section */ CONF_VALUE *_CONF_new_section(CONF *conf, char *section) { STACK *sk=NULL; diff --git a/crypto/conf/conf_api.h b/crypto/conf/conf_api.h index 17642c966c..05be7d8fb7 100644 --- a/crypto/conf/conf_api.h +++ b/crypto/conf/conf_api.h @@ -66,14 +66,13 @@ extern "C" { #include #include -/* This was new_section */ +/* Up until OpenSSL 0.9.5a, this was new_section */ CONF_VALUE *_CONF_new_section(CONF *conf, char *section); -/* This was get_section */ +/* Up until OpenSSL 0.9.5a, this was get_section */ CONF_VALUE *_CONF_get_section(CONF *conf, char *section); -/* This was CONF_get_section */ +/* Up until OpenSSL 0.9.5a, this was CONF_get_section */ STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section); -STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section); int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value); char *_CONF_get_string(CONF *conf, char *section, char *name); long _CONF_get_number(CONF *conf, char *section, char *name);