summaryrefslogtreecommitdiffhomepage
path: root/signkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'signkey.c')
-rw-r--r--signkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signkey.c b/signkey.c
index 6ed1667..49801f3 100644
--- a/signkey.c
+++ b/signkey.c
@@ -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;