From d07a15e1df7e53711ebbfd0358d405354948b363 Mon Sep 17 00:00:00 2001 From: Mus M Date: Mon, 6 Feb 2017 12:28:56 -0500 Subject: [PATCH] Update types.jl --- src/types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.jl b/src/types.jl index 0cfc61d..ac406a9 100644 --- a/src/types.jl +++ b/src/types.jl @@ -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