Skip to content

Commit 0c59454

Browse files
committed
Create a valid toDate if time is not available.
1 parent d7e152e commit 0c59454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/https.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static void createCert(void *param) {
6767
toDate = toCertDate(now + 824 * 24 * 60 * 60);
6868
} else {
6969
fromDate = "20210513090700";
70-
toDate = "20301232235959";
70+
toDate = "20301231235959";
7171
}
7272

7373
log_i("DN will be %s", createDn().c_str());

0 commit comments

Comments
 (0)