pki: Make pki_key_ecdsa_nid_to_name() a shared function.
pki: Move ssh_pki_key_ecdsa_name() to the correct file.
pki: Correctly update the ECDSA keytype.
Small documentation fix.

Signed-off-by: Hani Benhabiles <hani@linux.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
messages: Add missing ntohl on X11 request screen number

BUG: https://red.libssh.org/issues/160

Signed-off-by: Alan Dunn <amdunn@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
kex: NULL checks for 'first_kex_packet_follows'

Add NULL checks to 'is_first_kex_packet_follows_guess_wrong'
to ensure that a 'strdup(NULL)' path can not be taken.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
pki: Add missing semi-colon.
pki: Fix build without ECC support.

Signed-off-by: Andreas Schneider <asn@samba.org>