From c1f20825c8c5e07b149b951b1fbf31539b4a1bb9 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 6 Jun 2022 13:46:37 +0000 Subject: 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. --- src/lib/libssl/ssl_sess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: ssl_sess.c,v 1.109 2022/01/11 19:03:15 jsing Exp $ */ +/* $OpenBSD: ssl_sess.c,v 1.110 2022/06/06 13:46:37 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -224,7 +224,7 @@ SSL_SESSION_new(void) ss->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ ss->references = 1; - ss->timeout=60*5+4; /* 5 minute timeout by default */ + ss->timeout = 60 * 5 + 4; /* 5 minutes 4 seconds timeout by default */ ss->time = time(NULL); ss->prev = NULL; ss->next = NULL; -- cgit v1.2.3-55-g6feb