$OpenBSD: patch-src_h235_h235crypto_cxx,v 1.1 2018/09/01 11:05:51 ajacoutot Exp $

Index: src/h235/h235crypto.cxx
--- src/h235/h235crypto.cxx.orig
+++ src/h235/h235crypto.cxx
@@ -64,7 +64,7 @@ extern "C" {
 // the IV sequence is always 6 bytes long (2 bytes seq number + 4 bytes timestamp)
 const unsigned int IV_SEQUENCE_LEN = 6;
 
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
 
 inline const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx)
 {
