aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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