Commit ba0525c
committed
formats.c: Check binary hash functions for salt-only/blob formats
Blob formats can't use the fmt_default_(binary|get)_hash_[0..6] functions
but need more elaborate functions, or plain fmt_default_binary_hash.
Salt-only formats doesn't even have a binary, but are allowed to use
fmt_default_(binary|get)_hash (without the trailing _0[..6]).
See #57361 parent 2f606a9 commit ba0525c
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
905 | 907 | | |
906 | 908 | | |
907 | 909 | | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
908 | 934 | | |
909 | 935 | | |
910 | 936 | | |
| |||
0 commit comments