-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the lowest level file digest default to SHA256 too
Should've been in commit 0cd74ad already, didn't even realize we have such a hardcoded default in code too until accidentally stumbled on it a few days ago. This only affects anything if rpm's own normal macro configuration isn't available at all, so just an obscure corner case. A funny little gotcha is that inserting RPMTAG_FILEDIGESTALGO tag depended on defaultalgo being MD5, so the obvious one-liner change caused a whopping 104 test failures. The tag needs to be added on any non-MD5 algorithm, change it to test for that explicitly. So I guess it needs some tests afterall...
- Loading branch information
Showing
2 changed files
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters