projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76dd4c
)
Typo.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 21 Oct 2002 00:12:43 +0000
(
00:12
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 21 Oct 2002 00:12:43 +0000
(
00:12
+0000)
demos/selfsign.c
patch
|
blob
|
history
diff --git
a/demos/selfsign.c
b/demos/selfsign.c
index 68904c611eaca6419e9cb678d86c0ed4e81e3c04..3d90caaa646351341c10c3f8170c144e1826017b 100644
(file)
--- 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);