From: tb Date: Mon, 6 Jun 2022 13:18:34 +0000 (+0000) Subject: Remove incorrect and ungrammattical comment X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c00a0ce3b2d2c596ebece610df12054c8580232f;p=openbsd 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. --- 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,