aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@dreid.org>2014-05-07 14:04:23 -0700
committerDavid Reid <dreid@dreid.org>2014-05-07 14:04:23 -0700
commitc9430bd2a150a26bfff3e06065b5f529378ea40a (patch)
tree132872731716bfa94e8a74216307fbb994fca1e7
parentce15f99aeb904ac308717fa522784a8dfb22ce82 (diff)
downloadcryptography-c9430bd2a150a26bfff3e06065b5f529378ea40a.tar.gz
cryptography-c9430bd2a150a26bfff3e06065b5f529378ea40a.tar.bz2
cryptography-c9430bd2a150a26bfff3e06065b5f529378ea40a.zip
Fix Private->Public
-rw-r--r--cryptography/hazmat/primitives/asymmetric/rsa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/asymmetric/rsa.py b/cryptography/hazmat/primitives/asymmetric/rsa.py
index b656d06c..2ee96f84 100644
--- a/cryptography/hazmat/primitives/asymmetric/rsa.py
+++ b/cryptography/hazmat/primitives/asymmetric/rsa.py
@@ -324,7 +324,7 @@ class RSAPublicNumbers(object):
not isinstance(e, six.integer_types) or
not isinstance(n, six.integer_types)
):
- raise TypeError("RSAPrivateNumbers arguments must be integers.")
+ raise TypeError("RSAPublicNumbers arguments must be integers.")
self._e = e
self._n = n