mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Clarifications and removal of double declaration...
This commit is contained in:
parent
ebbaebf784
commit
21346b7a04
@ -66,7 +66,7 @@ static void value_free_stack(CONF_VALUE *a,LHASH *conf);
|
|||||||
static unsigned long hash(CONF_VALUE *v);
|
static unsigned long hash(CONF_VALUE *v);
|
||||||
static int cmp_conf(CONF_VALUE *a,CONF_VALUE *b);
|
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 *_CONF_get_section(CONF *conf, char *section)
|
||||||
{
|
{
|
||||||
CONF_VALUE *v,vv;
|
CONF_VALUE *v,vv;
|
||||||
@ -78,7 +78,7 @@ CONF_VALUE *_CONF_get_section(CONF *conf, char *section)
|
|||||||
return(v);
|
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)
|
STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section)
|
||||||
{
|
{
|
||||||
CONF_VALUE *v;
|
CONF_VALUE *v;
|
||||||
@ -247,7 +247,7 @@ static int cmp_conf(CONF_VALUE *a, CONF_VALUE *b)
|
|||||||
return((a->name == NULL)?-1:1);
|
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)
|
CONF_VALUE *_CONF_new_section(CONF *conf, char *section)
|
||||||
{
|
{
|
||||||
STACK *sk=NULL;
|
STACK *sk=NULL;
|
||||||
|
@ -66,14 +66,13 @@ extern "C" {
|
|||||||
#include <openssl/lhash.h>
|
#include <openssl/lhash.h>
|
||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
|
|
||||||
/* This was new_section */
|
/* Up until OpenSSL 0.9.5a, this was new_section */
|
||||||
CONF_VALUE *_CONF_new_section(CONF *conf, char *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);
|
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);
|
||||||
|
|
||||||
STACK_OF(CONF_VALUE) *_CONF_get_section_values(CONF *conf, char *section);
|
|
||||||
int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
|
int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value);
|
||||||
char *_CONF_get_string(CONF *conf, char *section, char *name);
|
char *_CONF_get_string(CONF *conf, char *section, char *name);
|
||||||
long _CONF_get_number(CONF *conf, char *section, char *name);
|
long _CONF_get_number(CONF *conf, char *section, char *name);
|
||||||
|
Loading…
Reference in New Issue
Block a user