diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-02-22 01:26:40 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-02-22 01:26:40 +0000 |
commit | e527ba09a66837cad0d8973409e660474db63f89 (patch) | |
tree | 9cafa6c8c7d85d4e5cb1957b995ffa815745915d /crypto/x509v3/v3_alt.c | |
parent | 60e31c3a4bbdbdb4259eaa3c48639f3e3915f380 (diff) |
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
Diffstat (limited to 'crypto/x509v3/v3_alt.c')
-rw-r--r-- | crypto/x509v3/v3_alt.c | 20 |
1 files changed, 8 insertions, 12 deletions
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 <stdio.h> -#include <stdlib.h> -#include <pem.h> -#include <asn1_mac.h> -#include <err.h> -#include <objects.h> -#include <conf.h> +#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; |