about summary refs log tree commit homepage
path: root/certs/create-certs.perl
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-24 02:52:39 +0000
committerEric Wong <e@80x24.org>2019-06-24 05:26:27 +0000
commit3c7949c4ecd5b772020c8db3878f7b064ebfb9b7 (patch)
tree53870ccb7e39770454a5f00bd9bf851178ee1909 /certs/create-certs.perl
parentb70cf61f0c1f70621b88fe6420083a576d47f19f (diff)
downloadpublic-inbox-3c7949c4ecd5b772020c8db3878f7b064ebfb9b7.tar.gz
If I'm still alive, I won't be coding after 2038 :<
Diffstat (limited to 'certs/create-certs.perl')
-rwxr-xr-xcerts/create-certs.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/create-certs.perl b/certs/create-certs.perl
index bfd8e5f1..476be4d7 100755
--- a/certs/create-certs.perl
+++ b/certs/create-certs.perl
@@ -8,7 +8,7 @@ use Net::SSLeay;
 
 my $dir = "./";
 my $now = time();
-my $later = $now + 100*365*86400;
+my $later = 0x7fffffff; # 2038 problems on 32-bit :<
 
 Net::SSLeay::SSLeay_add_ssl_algorithms();
 my $sha256 = Net::SSLeay::EVP_get_digestbyname('sha256') or die;