Skip to content

Commit

Permalink
Update types.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
musm authored Feb 6, 2017
1 parent 7a57fd6 commit d07a15e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ SHA384_CTX = SHA2_384_CTX
SHA512_CTX = SHA2_512_CTX

# SHA1 is special; he needs extra workspace
SHA1_CTX() = SHA1_CTX(copy(SHA1_initial_hash_value), 0, zeros(UInt8, blocklen(SHA1_CTX)), Array(UInt32, 80))
SHA1_CTX() = SHA1_CTX(copy(SHA1_initial_hash_value), 0, zeros(UInt8, blocklen(SHA1_CTX)), Vector{UInt32}(80))


# Copy functions
Expand Down

0 comments on commit d07a15e

Please sign in to comment.