aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2020-10-12 17:28:35 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2020-10-12 17:28:35 -0400
commit95f3dd775038c02d2a070a5606995082177529d5 (patch)
tree4ad3ca6d42ad259b7992825782211cc1daa44fb1
parent7dbc61cd44b6a1beb2a8b97218b4557cf4537695 (diff)
downloadhopm-95f3dd775038c02d2a070a5606995082177529d5.tar.bz2
hopm-95f3dd775038c02d2a070a5606995082177529d5.tar.xz
hopm-95f3dd775038c02d2a070a5606995082177529d5.tar.zst
Drop patch.
-rw-r--r--debian/patches/build-with-wolfssl.patch51
-rw-r--r--debian/patches/series1
2 files changed, 0 insertions, 52 deletions
diff --git a/debian/patches/build-with-wolfssl.patch b/debian/patches/build-with-wolfssl.patch
deleted file mode 100644
index 6e80cad..0000000
--- a/debian/patches/build-with-wolfssl.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-Description: Allow the use of WolfSSL's OpenSSL compat layer.
-Author: Unit 193 <unit193@ubuntu.com>
-Last-Update: 2019-09-14
-
---- a/configure.ac
-+++ b/configure.ac
-@@ -33,6 +33,12 @@ AX_ARG_ENABLE_ASSERT
- AX_ARG_ENABLE_WARNINGS
- AX_ARG_ENABLE_EFENCE
-
-+AC_CHECK_HEADERS([wolfssl/openssl/ssl.h],[
-+ AC_SEARCH_LIBS([wolfSSL_CTX_new], [wolfssl])
-+ AC_DEFINE([HAVE_LIBCRYPTO],[1])
-+ AC_DEFINE([HAVE_WOLFSSL], 1, [Define if you have WolfSSL.])
-+ AC_MSG_NOTICE([Falling back to WolfSSL])])
-+
- AC_CHECK_FUNCS(strlcpy strlcat)
-
- AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile)
---- a/src/libopm/src/libopm.c
-+++ b/src/libopm/src/libopm.c
-@@ -31,7 +31,13 @@
- #include <stdlib.h>
- #include <poll.h>
- #ifdef HAVE_LIBCRYPTO
-+#ifdef HAVE_WOLFSSL
-+#include <wolfssl/options.h>
-+#include <wolfssl/ssl.h>
-+#include <wolfssl/openssl/ssl.h>
-+#else
- #include <openssl/ssl.h>
-+#endif
- #endif
-
- #include "config.h"
---- a/src/libopm/src/proxy.c
-+++ b/src/libopm/src/proxy.c
-@@ -26,7 +26,13 @@
- #include <stdlib.h>
- #include <string.h>
- #ifdef HAVE_LIBCRYPTO
-+#ifdef HAVE_WOLFSSL
-+#include <wolfssl/options.h>
-+#include <wolfssl/ssl.h>
-+#include <wolfssl/openssl/ssl.h>
-+#else
- #include <openssl/ssl.h>
-+#endif
- #endif
-
- #include "config.h"
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index c493120..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-build-with-wolfssl.patch