diff --git a/wolfssh/agent.h b/wolfssh/agent.h index fc22cf3..a3a4951 100644 --- a/wolfssh/agent.h +++ b/wolfssh/agent.h @@ -35,7 +35,6 @@ #include #include #include -#include #ifdef __cplusplus diff --git a/wolfssh/internal.h b/wolfssh/internal.h index 542eea9..5700463 100644 --- a/wolfssh/internal.h +++ b/wolfssh/internal.h @@ -160,6 +160,15 @@ extern "C" { #undef WOLFSSH_NO_SSH_RSA_SHA1 #define WOLFSSH_NO_SSH_RSA_SHA1 #endif +#if defined(WOLFSSH_NO_RSA) || defined(NO_SHA256) + #undef WOLFSSH_NO_SSH_RSA_SHA2_256 + #define WOLFSSH_NO_SSH_RSA_SHA2_256 +#endif +#if defined(WOLFSSH_NO_RSA) || !defined(WOLFSSL_SHA512) + #undef WOLFSSH_NO_SSH_RSA_SHA2_512 + #define WOLFSSH_NO_SSH_RSA_SHA2_512 +#endif + #if defined(WOLFSSH_NO_ECDSA) || \ defined(NO_SHA256) || defined(NO_ECC256) #undef WOLFSSH_NO_ECDSA_SHA2_NISTP256