You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
947 B

  1. From 826718bdbbd42fcf56bdb45dd9e71af10299cfa3 Mon Sep 17 00:00:00 2001
  2. From: Oskari Rauta <oskari.rauta@gmail.com>
  3. Date: Sun, 13 Mar 2022 10:06:08 +0100
  4. Subject: [PATCH 3/3] do not use zt SSO and OIDC
  5. These features need Rust/Cargo support
  6. in the build system. OpenWrt does not
  7. have that yet.
  8. ---
  9. make-linux.mk | 4 ++++
  10. node/Constants.hpp | 3 +++
  11. 2 files changed, 7 insertions(+)
  12. --- a/make-linux.mk
  13. +++ b/make-linux.mk
  14. @@ -268,6 +268,10 @@ ifeq ($(ZT_IA32),1)
  15. endif
  16. ifeq ($(ZT_SSO_SUPPORTED), 1)
  17. + ZT_SSO_SUPPORTED=0
  18. +endif
  19. +
  20. +ifeq ($(ZT_SSO_SUPPORTED), 1)
  21. ifeq ($(ZT_DEBUG),1)
  22. LDLIBS+=zeroidc/target/debug/libzeroidc.a -ldl -lssl -lcrypto
  23. else
  24. --- a/node/Constants.hpp
  25. +++ b/node/Constants.hpp
  26. @@ -72,6 +72,9 @@
  27. #include <machine/endian.h>
  28. #endif
  29. +#undef OIDC_SUPPORTED
  30. +#define OIDC_SUPPORTED 0
  31. +
  32. #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
  33. #define OIDC_SUPPORTED 0
  34. #ifndef __UNIX_LIKE__