Fix typo in SHA1 code

I mistyped this when translating it.  This was the source of the memory
corruption I think.