aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-07 00:03:24 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-06-07 00:03:24 -0500
commit040e1607db6601e510e178e7545b8b079bbc890b (patch)
tree55b5b4a257bc67ed77bf898ddb135ac735ebe81d /cryptography
parent433e2a78dbafb210ddec13131b66bbb369e57d6d (diff)
downloadcryptography-040e1607db6601e510e178e7545b8b079bbc890b.tar.gz
cryptography-040e1607db6601e510e178e7545b8b079bbc890b.tar.bz2
cryptography-040e1607db6601e510e178e7545b8b079bbc890b.zip
rename the function
Diffstat (limited to 'cryptography')
-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 94f07902..b256ddcc 100644
--- a/cryptography/hazmat/primitives/asymmetric/rsa.py
+++ b/cryptography/hazmat/primitives/asymmetric/rsa.py
@@ -21,7 +21,7 @@ from cryptography.hazmat.backends.interfaces import RSABackend
from cryptography.hazmat.primitives import interfaces
-def generate_rsa_private_key(public_exponent, key_size, backend):
+def generate_private_key(public_exponent, key_size, backend):
if not isinstance(backend, RSABackend):
raise UnsupportedAlgorithm(
"Backend object does not implement RSABackend.",