Skip to content

Commit

Permalink
Merge pull request #32 from yuyichao/0.6
Browse files Browse the repository at this point in the history
Fix 0.6 abstract type declaration depwarn
  • Loading branch information
staticfloat authored Feb 11, 2017
2 parents 14aaef7 + 3db3e78 commit cbc92e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.4
Compat 0.9.4
Compat 0.17.0
6 changes: 3 additions & 3 deletions src/types.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Type hierarchy to aid in splitting up of SHA2 algorithms
# as SHA224/256 are similar, and SHA-384/512 are similar
abstract SHA_CTX
abstract SHA2_CTX <: SHA_CTX
abstract SHA3_CTX <: SHA_CTX
@compat abstract type SHA_CTX end
@compat abstract type SHA2_CTX <: SHA_CTX end
@compat abstract type SHA3_CTX <: SHA_CTX end
import Base: copy

# We derive SHA1_CTX straight from SHA_CTX since it doesn't have a
Expand Down

0 comments on commit cbc92e6

Please sign in to comment.