wolfssl: Undef RSA_PSS_SALT_LEN_DEFAULT as wolfSSL 4.3.0 defines it as enum
authorTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2020 14:48:47 +0000 (15:48 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Jan 2020 14:49:57 +0000 (15:49 +0100)
src/libstrongswan/plugins/wolfssl/wolfssl_common.h

index c498cb5..ed4099d 100644 (file)
 #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