Skip to content

Commit

Permalink
Update from HEAD.
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Jul 13, 2009
1 parent 1546de8 commit 0190aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/x509.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ int MAIN(int argc, char **argv)
if (!X509_set_subject_name(x,req->req_info->subject)) goto end;

X509_gmtime_adj(X509_get_notBefore(x),0);
X509_gmtime_adj(X509_get_notAfter(x),(long)60*60*24*days);
X509_gmtime_adj_ex(X509_get_notAfter(x),days, 0, NULL);

pkey = X509_REQ_get_pubkey(req);
X509_set_pubkey(x,pkey);
Expand Down

0 comments on commit 0190aa7

Please sign in to comment.