Skip to content

Commit

Permalink
Merge pull request #104 from tomato42/typo-fix
Browse files Browse the repository at this point in the history
fix typo in keys.py error message
  • Loading branch information
tomato42 authored Apr 19, 2019
2 parents 850f760 + 159163c commit 480b5f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ecdsa/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ class BadDigestError(Exception):
class VerifyingKey:
def __init__(self, _error__please_use_generate=None):
if not _error__please_use_generate:
raise TypeError("Please use SigningKey.generate() to construct me")
raise TypeError("Please use VerifyingKey.generate() to "
"construct me")

@classmethod
def from_public_point(klass, point, curve=NIST192p, hashfunc=sha1):
Expand Down

0 comments on commit 480b5f7

Please sign in to comment.