diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-04-20 01:10:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-04-20 01:10:33 +0000 |
commit | f5fedc0497ef4a7b4d60d404f9b37020967eab94 (patch) | |
tree | 2a11ceff0837be591b43c2c10936bdd8c921c524 /crypto/x509v3/v3_conf.c | |
parent | e4aac1cb684a630d4e55bf5960d4fd8d1dbcccd1 (diff) |
Various fixes so Win32 compile may work. Convert GeneralNames to use safe stack.
Diffstat (limited to 'crypto/x509v3/v3_conf.c')
-rw-r--r-- | crypto/x509v3/v3_conf.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/x509v3/v3_conf.c b/crypto/x509v3/v3_conf.c index 59a24ef871..d2485827da 100644 --- a/crypto/x509v3/v3_conf.c +++ b/crypto/x509v3/v3_conf.c @@ -71,11 +71,15 @@ static int v3_check_critical(char **value); static int v3_check_generic(char **value); static X509_EXTENSION *do_ext_conf(LHASH *conf, X509V3_CTX *ctx, int ext_nid, int crit, char *value); static X509_EXTENSION *v3_generic_extension(const char *ext, char *value, int crit, int type); +static char *conf_lhash_get_string(void *db, char *section, char *value); +static STACK *conf_lhash_get_section(void *db, char *section); #else static int v3_check_critical(); static int v3_check_generic(); static X509_EXTENSION *do_ext_conf(); static X509V3_EXTENSION *v3_generic_extension(); +static char *conf_lhash_get_string(); +static STACK *conf_lhash_get_section(); #endif /* LHASH *conf: Config file */ @@ -299,14 +303,14 @@ void X509V3_string_free(X509V3_CTX *ctx, char *str) { if(!str) return; if(ctx->db_meth->free_string) - return ctx->db_meth->free_string(ctx->db, str); + ctx->db_meth->free_string(ctx->db, str); } void X509V3_section_free(X509V3_CTX *ctx, STACK *section) { if(!section) return; if(ctx->db_meth->free_section) - return ctx->db_meth->free_section(ctx->db, section); + ctx->db_meth->free_section(ctx->db, section); } static char *conf_lhash_get_string(void *db, char *section, char *value) |