Move locking and thread ID functions into new files lock.c and thr_id.c,
[openssl.git] / crypto / x509v3 / v3conf.c
index 64a5561b53a3d80dd99c40c26b7334bef8f9de17..a9e6ca354280bc630f4c8dca39646278e6775332 100644 (file)
@@ -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.
  */
 /* ====================================================================
 
 #include <stdio.h>
 #include "cryptlib.h"
-#include "asn1.h"
-#include "asn1_mac.h"
-#include "conf.h"
-#include "x509.h"
-#include "x509v3.h"
+#include <openssl/asn1.h>
+#include <openssl/conf.h>
+#include <openssl/x509.h>
+#include <openssl/x509v3.h>
 
 /* 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");
                
        }