diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-11-26 18:00:14 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-11-30 16:20:04 +0100 |
commit | 46d8840f7ea8e0f0569c5a4b9cd4074da8d7973b (patch) | |
tree | 51c3dd76169be391f5458d1e40bf39c39f654359 /src/pki.c | |
parent | c1fdb56d23c4e6ddffc1a621fc08089566b48de5 (diff) | |
download | libssh-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. * |