Typo.
This commit is contained in:
parent
e76dd4cba8
commit
473048587d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue