diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-06 13:18:35 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-06-06 13:18:35 +0000 |
commit | f4c3e502a39bbfa8dbd5f615d9304a9b10f87e4b (patch) | |
tree | f164f7d4297e9258805a2a70cd97b85222601287 | |
parent | 5da6c078fe7f3f416fb3893762a502224c66383a (diff) |
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.
-rw-r--r-- | lib/libssl/ssl_clnt.c | 5 |
1 files 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, |