1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

certauth: fix max cert duration to avoid int overflow

This commit is contained in:
Ilya Kreymer 2015-01-11 15:04:19 -08:00
parent 7ae0ff86d2
commit 14657fbe15

View File

@ -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/'