[openssl/openssl] 31c94b: Fix a bug where the result of rehash is unstable
Minyong Ha
noreply at github.com
Thu May 25 13:49:05 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 31c94b5e1159b5435b2354e6525355ec33683ecc
https://github.com/openssl/openssl/commit/31c94b5e1159b5435b2354e6525355ec33683ecc
Author: minyong.ha <minyong.ha at lge.com>
Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths:
M apps/rehash.c
Log Message:
-----------
Fix a bug where the result of rehash is unstable
The root cause is that the file entries targeted for rehash are not actually sorted.
Sort was skipped because the compare function was null.
So a compare function has been implemented to allow file entries to be sorted.
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21013)
More information about the openssl-commits
mailing list