[openssl/openssl] 1f32ec: Fix a bug where the result of rehash is unstable
Minyong Ha
noreply at github.com
Thu May 25 13:49:06 UTC 2023
Branch: refs/heads/openssl-3.1
Home: https://github.com/openssl/openssl
Commit: 1f32ec077c2544489cb8299c6953c3a9d2e9d1b9
https://github.com/openssl/openssl/commit/1f32ec077c2544489cb8299c6953c3a9d2e9d1b9
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)
(cherry picked from commit 31c94b5e1159b5435b2354e6525355ec33683ecc)
More information about the openssl-commits
mailing list