From: tb Date: Mon, 6 Jun 2022 13:46:37 +0000 (+0000) Subject: Fix comment + spacing. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b5ddb6d5bec5988c0f1f9909ec322e4e74ca4325;p=openbsd 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. --- diff --git a/lib/libssl/ssl_sess.c b/lib/libssl/ssl_sess.c index 44c2e846bad..71324577b14 100644 --- a/lib/libssl/ssl_sess.c +++ b/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;