*/
#include <stdio.h>
-#include <stdlib.h>
-#include <pem.h>
-#include <err.h>
-#include "x509v3.h"
+#include "cryptlib.h"
+#include <openssl/x509v3.h>
static ASN1_INTEGER *asn1_integer_new();
i2d_ASN1_INTEGER,
(X509V3_EXT_I2S)i2s_ASN1_INTEGER,
(X509V3_EXT_S2I)NULL,
-NULL, NULL, NULL, NULL};
+NULL, NULL, NULL, NULL, NULL};
-static ASN1_INTEGER *asn1_integer_new()
+static ASN1_INTEGER *asn1_integer_new(void)
{
return ASN1_INTEGER_new();
}