Skip to content

Commit

Permalink
Merge pull request #86 from alex/typo-fix
Browse files Browse the repository at this point in the history
Fixed a typo in an exception message
  • Loading branch information
Brian Warner committed Jul 14, 2014
2 parents e97d00d + a2ff369 commit 5bb13a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nacl/c/crypto_sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def crypto_sign_seed_keypair(seed):
sk = lib.ffi.new("unsigned char[]", crypto_sign_SECRETKEYBYTES)

if lib.crypto_sign_seed_keypair(pk, sk, seed) != 0:
raise CryptoError("An error occured while generating keypairs")
raise CryptoError("An error occurred while generating keypairs")

return (
lib.ffi.buffer(pk, crypto_sign_PUBLICKEYBYTES)[:],
Expand Down

0 comments on commit 5bb13a1

Please sign in to comment.