From 846dde91ae713e4835ae1fb4d76613fa97baccea Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 13 Jan 2020 15:48:47 +0100 Subject: [PATCH] wolfssl: Undef RSA_PSS_SALT_LEN_DEFAULT as wolfSSL 4.3.0 defines it as enum --- src/libstrongswan/plugins/wolfssl/wolfssl_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h index c498cb5cd..ed4099d5a 100644 --- a/src/libstrongswan/plugins/wolfssl/wolfssl_common.h +++ b/src/libstrongswan/plugins/wolfssl/wolfssl_common.h @@ -38,6 +38,10 @@ #undef DES_BLOCK_SIZE #endif +#ifdef RSA_PSS_SALT_LEN_DEFAULT +#undef RSA_PSS_SALT_LEN_DEFAULT +#endif + /* PARSE_ERROR is an enum entry in wolfSSL - not used in this plugin */ #define PARSE_ERROR WOLFSSL_PARSE_ERROR