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:
parent
7ae0ff86d2
commit
14657fbe15
@ -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/'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user