aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cryptography/hazmat/primitives/serialization.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptography/hazmat/primitives/serialization.py b/src/cryptography/hazmat/primitives/serialization.py
index 0f07e41f..e1ffab9e 100644
--- a/src/cryptography/hazmat/primitives/serialization.py
+++ b/src/cryptography/hazmat/primitives/serialization.py
@@ -52,10 +52,10 @@ def load_ssh_public_key(data, backend):
if not data.startswith(b'ssh-rsa'):
raise UnsupportedAlgorithm('Only RSA keys are currently supported.')
- return load_ssh_rsa_public_key(data, backend)
+ return _load_ssh_rsa_public_key(data, backend)
-def load_ssh_rsa_public_key(data, backend):
+def _load_ssh_rsa_public_key(data, backend):
if not data.startswith(b'ssh-rsa '):
raise ValueError('SSH-formatted RSA keys must begin with ssh-rsa')