diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-10-21 00:10:55 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-10-21 00:10:55 +0000 |
commit | 95970276936959f284f6682f94e6cf04ad166992 (patch) | |
tree | 17319f2963ccf02bd9a49245809e634cc2b7ed44 /demos | |
parent | 78f41a4e8914d649f2cd042a89ec06bed7991147 (diff) |
Typo.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/x509/mkcert.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |