]> git.ipfire.org Git - thirdparty/strongswan.git/commit
wolfssl: Updates to resolve build conflicts
authorTim Weller <tim.weller@wolfssl.com>
Tue, 4 Oct 2022 16:44:09 +0000 (11:44 -0500)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Nov 2022 15:23:44 +0000 (16:23 +0100)
commitaf71f14ba38397491226b46c43f21f0f418ec5d5
tree179107d6e877a7152dd305a997d3a422f6e926c1
parent7db77fd32b6b5dfbdad917fe10c3ed4b4d1d30bf
wolfssl: Updates to resolve build conflicts

The wolfSSL's OpenSSL compatibility layer is not used by the plugin at
all and preventing its inclusion avoids conflicts with ASN1_ constants.

The inclusion of wolfssl/ssl.h is moved to the only file that requires
it as older wolfSSL versions defined a conflicting ASN1_GENERALIZEDTIME.

Other changes address issues with the FIPS use case.

Closes strongswan/strongswan#1332
src/libstrongswan/plugins/wolfssl/wolfssl_common.h
src/libstrongswan/plugins/wolfssl/wolfssl_ec_diffie_hellman.c
src/libstrongswan/plugins/wolfssl/wolfssl_plugin.c