From c00a0ce3b2d2c596ebece610df12054c8580232f Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 6 Jun 2022 13:18:34 +0000 Subject: [PATCH] Remove incorrect and ungrammattical comment The fallback to SHA-1 if SHA-256 is disabled fell victim to tedu many moons ago when this file was still called s3_clnt.c and had no RCS ID. --- lib/libssl/ssl_clnt.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/libssl/ssl_clnt.c b/lib/libssl/ssl_clnt.c index 607b0388256..f5b8802a69e 100644 --- a/lib/libssl/ssl_clnt.c +++ b/lib/libssl/ssl_clnt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_clnt.c,v 1.141 2022/02/05 14:54:10 jsing Exp $ */ +/* $OpenBSD: ssl_clnt.c,v 1.142 2022/06/06 13:18:34 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1647,8 +1647,7 @@ ssl3_get_new_session_ticket(SSL *s) * * We choose the former approach because this fits in with * assumptions elsewhere in OpenSSL. The session ID is set - * to the SHA256 (or SHA1 is SHA256 is disabled) hash of the - * ticket. + * to the SHA256 hash of the ticket. */ EVP_Digest(CBS_data(&session_ticket), CBS_len(&session_ticket), s->session->session_id, &s->session->session_id_length, -- 2.20.1