diff --git a/src/ssh.c b/src/ssh.c index bb18937a9..e7e3e4073 100644 --- a/src/ssh.c +++ b/src/ssh.c @@ -2239,8 +2239,10 @@ static const char* CurveNameForId(byte id) case ECC_SECP521R1: return "nistp521"; +#ifdef HAVE_CURVE25519 case ECC_X25519: return "Curve25519"; +#endif } #endif return "";