Skip to content

Commit

Permalink
Fix depwarns under 0.7 and bump REQUIRE and CI to 0.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha0 committed Jul 26, 2017
1 parent 337a8f7 commit b9f21f2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ os:
- linux
- osx
julia:
- 0.4
- 0.5
- 0.6
- nightly
notifications:
email: false
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
julia 0.6
Compat 0.17.0
18 changes: 9 additions & 9 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@ import Base: copy

# We derive SHA1_CTX straight from SHA_CTX since it doesn't have a
# family of types like SHA2 or SHA3 do
type SHA1_CTX <: SHA_CTX
mutable struct SHA1_CTX <: SHA_CTX
state::Array{UInt32,1}
bytecount::UInt64
buffer::Array{UInt8,1}
W::Array{UInt32,1}
end

# SHA2 224/256/384/512-bit Context Structures
type SHA2_224_CTX <: SHA2_CTX
mutable struct SHA2_224_CTX <: SHA2_CTX
state::Array{UInt32,1}
bytecount::UInt64
buffer::Array{UInt8,1}
end

type SHA2_256_CTX <: SHA2_CTX
mutable struct SHA2_256_CTX <: SHA2_CTX
state::Array{UInt32,1}
bytecount::UInt64
buffer::Array{UInt8,1}
end

type SHA2_384_CTX <: SHA2_CTX
mutable struct SHA2_384_CTX <: SHA2_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
end

type SHA2_512_CTX <: SHA2_CTX
mutable struct SHA2_512_CTX <: SHA2_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
Expand All @@ -47,22 +47,22 @@ const SHA512_CTX = SHA2_512_CTX


# SHA3 224/256/384/512-bit context structures
type SHA3_224_CTX <: SHA3_CTX
mutable struct SHA3_224_CTX <: SHA3_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
end
type SHA3_256_CTX <: SHA3_CTX
mutable struct SHA3_256_CTX <: SHA3_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
end
type SHA3_384_CTX <: SHA3_CTX
mutable struct SHA3_384_CTX <: SHA3_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
end
type SHA3_512_CTX <: SHA3_CTX
mutable struct SHA3_512_CTX <: SHA3_CTX
state::Array{UInt64,1}
bytecount::UInt128
buffer::Array{UInt8,1}
Expand Down

0 comments on commit b9f21f2

Please sign in to comment.