X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Fx509v3%2Fv3conf.c;h=a9e6ca354280bc630f4c8dca39646278e6775332;hb=ad6019d6c0d22f384838b2f9ca339bdabed331a5;hp=64a5561b53a3d80dd99c40c26b7334bef8f9de17;hpb=e527ba09a66837cad0d8973409e660474db63f89;p=openssl.git diff --git a/crypto/x509v3/v3conf.c b/crypto/x509v3/v3conf.c index 64a5561b53..a9e6ca3542 100644 --- a/crypto/x509v3/v3conf.c +++ b/crypto/x509v3/v3conf.c @@ -1,5 +1,5 @@ /* v3conf.c */ -/* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL +/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== @@ -59,17 +59,14 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "conf.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include +#include /* Test application to add extensions from a config file */ -int main(argc, argv) -int argc; -char **argv; +int main(int argc, char **argv) { LHASH *conf; X509 *cert; @@ -121,7 +118,7 @@ char **argv; printf("%s", OBJ_nid2ln(OBJ_obj2nid(ext->object))); if(ext->critical) printf(",critical:\n"); else printf(":\n"); - X509V3_EXT_print_fp(stdout, ext, 0); + X509V3_EXT_print_fp(stdout, ext, 0, 0); printf("\n"); }