Skip to content

Commit 14657fb

Browse files
committed
certauth: fix max cert duration to avoid int overflow
1 parent 7ae0ff8 commit 14657fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pywb/framework/certauth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414

1515
#=================================================================
16-
# Duration of 100 years
17-
CERT_DURATION = 100 * 365 * 24 * 60 * 60
16+
# Duration of 10 years
17+
CERT_DURATION = 10 * 365 * 24 * 60 * 60
1818

1919
CERTS_DIR = './ca/certs/'
2020

0 commit comments

Comments
 (0)