mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 18:42:26 -05:00
fix incorrect buffer length
This commit is contained in:
parent
5b41861c9c
commit
c34589d281
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ func NoLLaMas(getInstanceV1 func(context.Context) (*apimodel.InstanceV1, gtserro
|
|||
}
|
||||
|
||||
// i.e. outputted hash slice length.
|
||||
const hashLen = sha256.BlockSize
|
||||
const hashLen = sha256.Size
|
||||
|
||||
// i.e. hex.EncodedLen(hashLen).
|
||||
const encodedHashLen = 2 * hashLen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue