diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2019-09-18 23:18:01 -0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-09-20 20:48:12 +0200 |
commit | 79d91aa6e7f2fe544a4953fbae1c8bdcdba78099 (patch) | |
tree | 7820ee0a7d54fac4b58c55cb307c06d07f39f6d6 /ustream-openssl.h | |
parent | e8f9c22d02fccde1d992f324280fb9966d3b4be6 (diff) | |
download | ustream-ssl-79d91aa6e7f2fe544a4953fbae1c8bdcdba78099.tar.gz |
Remove CyaSSL, WolfSSL < 3.10.4 support
This updates the CyaSSL names to wolfSSL, and removes obsolete code to
support old versions of the library < v3.10.4.
Some #include statements were moved around, so that wolfssl/options.h is
loaded before any other wolfssl/openssl header.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'ustream-openssl.h')
-rw-r--r-- | ustream-openssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ustream-openssl.h b/ustream-openssl.h index afff22b..0a6ca91 100644 --- a/ustream-openssl.h +++ b/ustream-openssl.h @@ -19,6 +19,10 @@ #ifndef __USTREAM_OPENSSL_H #define __USTREAM_OPENSSL_H +#if defined(HAVE_WOLFSSL) +#include <wolfssl/options.h> +#endif + #include <openssl/ssl.h> #include <openssl/err.h> #include <stdbool.h> |