From 95970276936959f284f6682f94e6cf04ad166992 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 21 Oct 2002 00:10:55 +0000 Subject: [PATCH] Typo. --- demos/x509/mkcert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/x509/mkcert.c b/demos/x509/mkcert.c index 4709e18e7c..8304d30e0b 100644 --- a/demos/x509/mkcert.c +++ b/demos/x509/mkcert.c @@ -88,7 +88,7 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days) } rsa=NULL; - X509_set_version(x,3); + X509_set_version(x,2); ASN1_INTEGER_set(X509_get_serialNumber(x),serial); X509_gmtime_adj(X509_get_notBefore(x),0); X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days); -- 2.25.1