aboutsummaryrefslogtreecommitdiff
path: root/src/pki.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-11-26 18:00:14 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-30 16:20:04 +0100
commit46d8840f7ea8e0f0569c5a4b9cd4074da8d7973b (patch)
tree51c3dd76169be391f5458d1e40bf39c39f654359 /src/pki.c
parentc1fdb56d23c4e6ddffc1a621fc08089566b48de5 (diff)
downloadlibssh-46d8840f7ea8e0f0569c5a4b9cd4074da8d7973b.tar.gz
libssh-46d8840f7ea8e0f0569c5a4b9cd4074da8d7973b.tar.xz
libssh-46d8840f7ea8e0f0569c5a4b9cd4074da8d7973b.zip
The largest ECDSA key has 521 bits
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/pki.c')
-rw-r--r--src/pki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki.c b/src/pki.c
index 282ed70c..9d50e870 100644
--- a/src/pki.c
+++ b/src/pki.c
@@ -1538,7 +1538,7 @@ int ssh_pki_import_cert_file(const char *filename, ssh_key *pkey)
* @param[in] parameter Parameter to the creation of key:
* rsa : length of the key in bits (e.g. 1024, 2048, 4096)
* dsa : length of the key in bits (e.g. 1024, 2048, 3072)
- * ecdsa : bits of the key (e.g. 256, 384, 512)
+ * ecdsa : bits of the key (e.g. 256, 384, 521)
* @param[out] pkey A pointer to store the allocated private key. You need
* to free the memory.
*