mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
As security/softether and -devel are created and maintained by different people for a long time, there was a lot of difference between and no consistency between both ports. I grab both ports and renew this port based on security/softether. Now there're least differences such as VERSION, COMMENT, CONFLICTS between both. To make both ports consistent, I quit fetching from GitHub. Using upstream site[1] instead. Upstream distributes -rtm and -beta suffixed tarballs. -rtm corresponds to security/softether, -beta does to security/softether-devel now. [1] https://www.softether-download.com/ Approved by: mentors (implicit)
27 lines
526 B
Text
27 lines
526 B
Text
--- 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
|