From 14657fbe152a5cc8c694f6a12c72cf9dbdc4eae7 Mon Sep 17 00:00:00 2001 From: Ilya Kreymer Date: Sun, 11 Jan 2015 15:04:19 -0800 Subject: [PATCH] certauth: fix max cert duration to avoid int overflow --- pywb/framework/certauth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pywb/framework/certauth.py b/pywb/framework/certauth.py index b9f70b06..cadf6bd1 100644 --- a/pywb/framework/certauth.py +++ b/pywb/framework/certauth.py @@ -13,8 +13,8 @@ from argparse import ArgumentParser #================================================================= -# Duration of 100 years -CERT_DURATION = 100 * 365 * 24 * 60 * 60 +# Duration of 10 years +CERT_DURATION = 10 * 365 * 24 * 60 * 60 CERTS_DIR = './ca/certs/'