Skip to content

Commit

Permalink
Merge pull request #30 from musm/patch-2
Browse files Browse the repository at this point in the history
Update types.jl
  • Loading branch information
staticfloat authored Feb 6, 2017
2 parents 9966ae4 + d07a15e commit fa90d14
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 fa90d14

Please sign in to comment.