Re: [PATCH] Fix compile when disabling SHA-1

2024-04-05 Thread Matt Johnston
Thanks, I've applied it. Matt On 2024-04-05 3:37 pm, Peter Krefting wrote: Fixes compile when disabling SHA-1 with #define DROPBEAR_SHA1_HMAC 0 #define DROPBEAR_RSA_SHA1 0 #define DROPBEAR_DH_GROUP14_SHA1 0 while keeping SHA-256 enabled. Should also fix the opposite, but that is not a

[PATCH] Fix compile when disabling SHA-1

2024-04-05 Thread Peter Krefting
Fixes compile when disabling SHA-1 with #define DROPBEAR_SHA1_HMAC 0 #define DROPBEAR_RSA_SHA1 0 #define DROPBEAR_DH_GROUP14_SHA1 0 while keeping SHA-256 enabled. Should also fix the opposite, but that is not a recommended configuration. --- src/svr-runopts.c | 4 diff --git