This commit is contained in:
Martin Sumner 2020-03-27 20:09:03 +00:00
parent 42eb5f56bc
commit 28c88ef8b8

View file

@ -1364,7 +1364,7 @@ build_table_summary(SlotIndex, _Level, FirstKey,
not_counted|non_neg_integer()}. not_counted|non_neg_integer()}.
%% @doc %% @doc
%% Read the table summary - format varies depending on file version (presence %% Read the table summary - format varies depending on file version (presence
%5 of tomb count) %% of tomb count)
read_table_summary(BinWithCheck, TombCount) -> read_table_summary(BinWithCheck, TombCount) ->
<<SummCRC:32/integer, SummBin/binary>> = BinWithCheck, <<SummCRC:32/integer, SummBin/binary>> = BinWithCheck,
CRCCheck = hmac(SummBin), CRCCheck = hmac(SummBin),