Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Fix SHA-1 impl
Browse files Browse the repository at this point in the history
  • Loading branch information
azyobuzin committed Sep 29, 2016
1 parent 6abd18b commit 08ebdc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CoreTweet.Shared/Internal/SecurityUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ private static int ComputeBufferSize(int messageSize)
{
messageSize += 9; // 0x80 + ml
var paddingSize = 64 - (messageSize % 64);
if (paddingSize == 64) paddingSize = 0;
return messageSize + paddingSize;
}

Expand Down

0 comments on commit 08ebdc8

Please sign in to comment.