[Openvpn-devel] [PATCH] crypto: Fix mbedtls builds

2022-01-21 Thread David Sommerseth
From: David Sommerseth With commit 544330fefedc87, the openssl_compat.h got included in crypto.c. This caused issues when building against mbed TLS, which this compat layer is not targeting. This issue is resolved by only including this header when the OpenSSL library is in use. The OPENSSL_FI

Re: [Openvpn-devel] [PATCH] crypto: Fix mbedtls builds

2022-01-25 Thread Antonio Quartulli
Hi, On 21/01/2022 21:10, David Sommerseth wrote: From: David Sommerseth With commit 544330fefedc87, the openssl_compat.h got included in crypto.c. This caused issues when building against mbed TLS, which this compat layer is not targeting. This issue is resolved by only including this header