summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-06-06 13:46:37 +0000
committertb <>2022-06-06 13:46:37 +0000
commitc1f20825c8c5e07b149b951b1fbf31539b4a1bb9 (patch)
tree0305a0fb5d8e0d645711235d796caac782752605
parent11c0c71d977c31afa56ccf830e982a298db962f6 (diff)
downloadopenbsd-c1f20825c8c5e07b149b951b1fbf31539b4a1bb9.tar.gz
openbsd-c1f20825c8c5e07b149b951b1fbf31539b4a1bb9.tar.bz2
openbsd-c1f20825c8c5e07b149b951b1fbf31539b4a1bb9.zip
Fix comment + spacing.
Apparently 60 * 5 + 4 seconds is 5 minutes. Presumably this is the case with sufficiently potent crack, which would explain a few things in here.
-rw-r--r--src/lib/libssl/ssl_sess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c
index 44c2e846ba..71324577b1 100644
--- a/src/lib/libssl/ssl_sess.c
+++ b/src/lib/libssl/ssl_sess.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_sess.c,v 1.109 2022/01/11 19:03:15 jsing Exp $ */ 1/* $OpenBSD: ssl_sess.c,v 1.110 2022/06/06 13:46:37 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -224,7 +224,7 @@ SSL_SESSION_new(void)
224 224
225 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ 225 ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */
226 ss->references = 1; 226 ss->references = 1;
227 ss->timeout=60*5+4; /* 5 minute timeout by default */ 227 ss->timeout = 60 * 5 + 4; /* 5 minutes 4 seconds timeout by default */
228 ss->time = time(NULL); 228 ss->time = time(NULL);
229 ss->prev = NULL; 229 ss->prev = NULL;
230 ss->next = NULL; 230 ss->next = NULL;