wolfssl: Fixes for building with OpenSSL compatibility layer

Resolves conflicts with building against wolfSSL when
`--enable-opensslextra` is set, namely the `WOLFSSL_HMAC_H_`,
`RNG` and `ASN1_*` name conflicts.

Closes strongswan/strongswan#151.
This commit is contained in:
David Garske
2019-09-26 09:06:11 +02:00
committed by Tobias Brunner
parent 095a2c2eac
commit 1a256ca65a
17 changed files with 74 additions and 52 deletions
@@ -25,8 +25,8 @@
* @{ @ingroup wolfssl_p
*/
#ifndef WOLFSSL_DIFFIE_HELLMAN_H_
#define WOLFSSL_DIFFIE_HELLMAN_H_
#ifndef WOLFSSL_PLUGIN_DIFFIE_HELLMAN_H_
#define WOLFSSL_PLUGIN_DIFFIE_HELLMAN_H_
typedef struct wolfssl_diffie_hellman_t wolfssl_diffie_hellman_t;
@@ -53,5 +53,5 @@ struct wolfssl_diffie_hellman_t {
wolfssl_diffie_hellman_t *wolfssl_diffie_hellman_create(
diffie_hellman_group_t group, ...);
#endif /** WOLFSSL_DIFFIE_HELLMAN_H_ @}*/
#endif /** WOLFSSL_PLUGIN_DIFFIE_HELLMAN_H_ @}*/