summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ustream-openssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ustream-openssl.c b/ustream-openssl.c
index 1ce796a..894dddb 100644
--- a/ustream-openssl.c
+++ b/ustream-openssl.c
@@ -308,7 +308,9 @@ static bool handle_wolfssl_asn_error(struct ustream_ssl *us, int r)
case ASN_SIG_HASH_E:
case ASN_SIG_KEY_E:
case ASN_DH_KEY_E:
+#if LIBWOLFSSL_VERSION_HEX < 0x05000000
case ASN_NTRU_KEY_E:
+#endif
case ASN_CRIT_EXT_E:
case ASN_ALT_NAME_E:
case ASN_NO_PEM_HEADER: