Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Jan 11, 2018
1 parent 1d29970 commit 939e8f5
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 @@ -145,5 +145,5 @@ show(io::IO, ::SHA3_384_CTX) = write(io, "SHA3 384-bit hash state")
show(io::IO, ::SHA3_512_CTX) = write(io, "SHA3 512-bit hash state")


# use out types to define a method to get a pointer to the state buffer
# use our types to define a method to get a pointer to the state buffer
buffer_pointer(ctx::T) where {T<:SHA_CTX} = Ptr{state_type(T)}(pointer(ctx.buffer))

0 comments on commit 939e8f5

Please sign in to comment.