diff options
author | Koichiro Iwao <meta@FreeBSD.org> | 2020-06-29 03:02:15 +0000 |
---|---|---|
committer | Koichiro Iwao <meta@FreeBSD.org> | 2020-06-29 03:02:15 +0000 |
commit | cbcbca1481ba1311b18e653b103c5da3472a64a9 (patch) | |
tree | a9a90ce9ea8dd13f1081f6da69d88673fe823936 /security/softether-devel/files/patch-unrestrict-enterprise-functions | |
parent | security/softether5: deprecate UNLOCK option (diff) |
security/softether: deprecate UNLOCK option as well as r540740
Notes
Notes:
svn path=/head/; revision=540741
Diffstat (limited to 'security/softether-devel/files/patch-unrestrict-enterprise-functions')
-rw-r--r-- | security/softether-devel/files/patch-unrestrict-enterprise-functions | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/security/softether-devel/files/patch-unrestrict-enterprise-functions b/security/softether-devel/files/patch-unrestrict-enterprise-functions new file mode 100644 index 000000000000..72ab925376c1 --- /dev/null +++ b/security/softether-devel/files/patch-unrestrict-enterprise-functions @@ -0,0 +1,27 @@ +--- src/Cedar/Server.c.orig 2016-04-24 14:49:31 UTC ++++ src/Cedar/Server.c +@@ -10822,23 +10822,7 @@ bool SiCheckCurrentRegion(CEDAR *c, char + // + bool SiIsEnterpriseFunctionsRestrictedOnOpenSource(CEDAR *c) + { +- char region[128]; +- bool ret = false; +- // Validate arguments +- if (c == NULL) +- { +- return false; +- } +- +- +- SiGetCurrentRegion(c, region, sizeof(region)); +- +- if (StrCmpi(region, "JP") == 0 || StrCmpi(region, "CN") == 0) +- { +- ret = true; +- } +- +- return ret; ++ return false; + } + + // Update the current region |