File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1053,7 +1053,7 @@ pub enum IntegrityCheckError {
10531053 /// The integrity check file has an incorrect size.
10541054 ///
10551055 /// This typically indicates file corruption or an attempt to use an incompatible
1056- /// hash algorithm. The expected size is [`SHA384_BYTE_LEN`] (48 bytes) .
1056+ /// hash algorithm. The expected size is [`INTEGRITY_CHECK_BYTE_LEN`] .
10571057 #[ error(
10581058 "wrong check file length for hash type; received {0} bytes, expected {SHA384_BYTE_LEN} bytes"
10591059 ) ]
@@ -1064,7 +1064,7 @@ pub enum IntegrityCheckError {
10641064const SHA384_BYTE_LEN : usize = 384 / 8 ;
10651065
10661066/// Current size of integrity check in bytes (currently SHA-384).
1067- const INTEGRITY_CHECK_BYTE_LEN : usize = SHA384_BYTE_LEN ;
1067+ pub const INTEGRITY_CHECK_BYTE_LEN : usize = SHA384_BYTE_LEN ;
10681068
10691069/// Internal representation of SHA-384 hash bytes.
10701070#[ repr( transparent) ]
You can’t perform that action at this time.
0 commit comments