diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-05-24 14:16:58 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-05-24 14:16:58 +0800 |
commit | 7871273feb1a2e76857ddcc80b1fe7e7081b60b1 (patch) | |
tree | 092ae0172714b15d062ed9c47a1ae913321a0c96 /signkey.c | |
parent | 71a3cec2995291047445255e3159a7867f05f947 (diff) | |
download | dropbear-7871273feb1a2e76857ddcc80b1fe7e7081b60b1.tar.gz |
send and handle SSH_MSG_EXT_INFO only at the correct point
- other fixes for rsa pubkey auth
- only include ext-info handling when rsa pubkey auth is compiled
Diffstat (limited to 'signkey.c')
-rw-r--r-- | signkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ enum signature_type signature_type_from_name(const char* name, unsigned int name return DROPBEAR_SIGNATURE_RSA_SHA256; } #endif -#if DROPBEAR_RSA_SHA256 +#if DROPBEAR_RSA_SHA1 if (namelen == strlen(SSH_SIGNKEY_RSA) && memcmp(name, SSH_SIGNKEY_RSA, namelen) == 0) { return DROPBEAR_SIGNATURE_RSA_SHA1; |