From 473048587d3a54e630441a87b20fd08c804e0e96 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 21 Oct 2002 00:12:43 +0000 Subject: [PATCH] Typo. --- demos/selfsign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/selfsign.c b/demos/selfsign.c index 68904c611e..3d90caaa64 100644 --- a/demos/selfsign.c +++ b/demos/selfsign.c @@ -106,7 +106,7 @@ 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);