From e527ba09a66837cad0d8973409e660474db63f89 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 22 Feb 1999 01:26:40 +0000 Subject: Various changes to make this stuff compile under Win32 and VC++ with and without -debug option to mk1mf.pl. Change _export to is_export (_export is a reserved word under VC++). Add yucky function prototype function pointer casts. Sanitise the included files in crypto/x509v3. Also changed ssleay.exe target to openssl.exe --- crypto/x509v3/v3_alt.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'crypto/x509v3/v3_alt.c') diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c index 76f1b633c5..7f02dfc6b4 100644 --- a/crypto/x509v3/v3_alt.c +++ b/crypto/x509v3/v3_alt.c @@ -57,22 +57,18 @@ */ #include -#include -#include -#include -#include -#include -#include +#include "cryptlib.h" +#include "conf.h" #include "x509v3.h" #ifndef NOPROTO -STACK *v2i_subject_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); -STACK *v2i_issuer_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); +static STACK *v2i_subject_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); +static STACK *v2i_issuer_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); static int copy_email(X509V3_CTX *ctx, STACK *gens); static int copy_issuer(X509V3_CTX *ctx, STACK *gens); #else -STACK *v2i_issuer_alt(); -STACK *v2i_subject_alt(); +static STACK *v2i_issuer_alt(); +static STACK *v2i_subject_alt(); static int copy_email(); static int copy_issuer(); #endif @@ -170,7 +166,7 @@ STACK *ret; return ret; } -STACK *v2i_issuer_alt(method, ctx, nval) +static STACK *v2i_issuer_alt(method, ctx, nval) X509V3_EXT_METHOD *method; X509V3_CTX *ctx; STACK *nval; @@ -239,7 +235,7 @@ STACK *gens; } -STACK *v2i_subject_alt(method, ctx, nval) +static STACK *v2i_subject_alt(method, ctx, nval) X509V3_EXT_METHOD *method; X509V3_CTX *ctx; STACK *nval; -- cgit v1.2.3