diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-10-21 00:10:10 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-10-21 00:10:10 +0000 |
commit | 5aa3429c5d2216dc9a75e5c40c78b3dce5bb4efe (patch) | |
tree | c7d2ce06d38015543c1eef684813abb0972b3a65 /demos | |
parent | ffd418f2173da73ce9d9e5f113e53d3e1a0fb57f (diff) | |
download | openssl-5aa3429c5d2216dc9a75e5c40c78b3dce5bb4efe.tar.gz |
Typo: v3 is represented by 2.
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); |