Commit 21346b7a authored by Richard Levitte's avatar Richard Levitte
Browse files

Clarifications and removal of double declaration...

parent ebbaebf7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
+3 −4
Original line number Diff line number Diff line
@@ -66,14 +66,13 @@ extern "C" {
#include <openssl/lhash.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);
/* 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);