Skip to content

Commit

Permalink
Merge pull request #110 from cryptosphere/fix_blake2b_method_sig
Browse files Browse the repository at this point in the history
size_t != unsigned long long, at least on x86
  • Loading branch information
namelessjon committed Sep 20, 2014
2 parents db1b556 + 5f1463d commit 02308ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbnacl/hash/blake2b.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Blake2b

sodium_function :generichash_blake2b,
:crypto_generichash_blake2b,
[:pointer, :ulong_long, :pointer, :ulong_long, :pointer, :ulong_long]
[:pointer, :size_t, :pointer, :ulong_long, :pointer, :size_t]

# Create a new Blake2b hash object
#
Expand Down

0 comments on commit 02308ca

Please sign in to comment.