mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-01 11:26:53 +03:00
ECDSA key types are now explicit (#251)
* ECDSA key types are now explicit Issue was brough up in pull request #248
This commit is contained in:
@ -63,7 +63,7 @@ int test(LIBSSH2_SESSION *session)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if(type == LIBSSH2_HOSTKEY_TYPE_ECDSA) {
|
||||
if(type == LIBSSH2_HOSTKEY_TYPE_ECDSA_256) {
|
||||
|
||||
md5_hash = libssh2_hostkey_hash(session, LIBSSH2_HOSTKEY_HASH_MD5);
|
||||
if(md5_hash == NULL) {
|
||||
|
Reference in New Issue
Block a user