aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontends/osx
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-05-03 16:51:29 +0200
committerMartin Willi <martin@revosec.ch>2013-07-18 12:17:55 +0200
commit501637039088ccc005153b3074b42b98461573bd (patch)
tree8b36378cc4562d9880373b8578b22d274d7a8bd9 /src/frontends/osx
parente73a653451efb25ec172af95c8db69ac641d2f6c (diff)
downloadstrongswan-501637039088ccc005153b3074b42b98461573bd.tar.bz2
strongswan-501637039088ccc005153b3074b42b98461573bd.tar.xz
xpc: build with support for the keychain plugin
Diffstat (limited to 'src/frontends/osx')
-rw-r--r--src/frontends/osx/README.md3
-rw-r--r--src/frontends/osx/charon-xpc/charon-xpc.c2
-rw-r--r--src/frontends/osx/strongSwan.xcodeproj/project.pbxproj1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/frontends/osx/README.md b/src/frontends/osx/README.md
index 69ee460a1..62a0b2e0d 100644
--- a/src/frontends/osx/README.md
+++ b/src/frontends/osx/README.md
@@ -28,7 +28,8 @@ CFLAGS="-I/usr/include -DOPENSSL_NO_CMS -O2 -Wall -Wno-format -Wno-pointer-sign"
--enable-kernel-pfkey --enable-kernel-pfroute --enable-eap-mschapv2 \
--enable-eap-identity --enable-monolithic --enable-nonce --enable-random \
--enable-pkcs1 --enable-pem --enable-socket-default --enable-xauth-generic \
- --enable-ikev1 --enable-ikev2 --enable-charon --disable-shared --enable-static
+ --enable-keychain --enable-ikev1 --enable-ikev2 --enable-charon \
+ --disable-shared --enable-static
followed by calling make (no need to make install).
diff --git a/src/frontends/osx/charon-xpc/charon-xpc.c b/src/frontends/osx/charon-xpc/charon-xpc.c
index 477e1e0c4..b4a3d58e1 100644
--- a/src/frontends/osx/charon-xpc/charon-xpc.c
+++ b/src/frontends/osx/charon-xpc/charon-xpc.c
@@ -165,7 +165,7 @@ int main(int argc, char *argv[])
if (!charon->initialize(charon,
lib->settings->get_str(lib->settings, "charon-xpc.load",
"random nonce pem pkcs1 openssl kernel-pfkey kernel-pfroute "
- "socket-default eap-identity eap-mschapv2")))
+ "keychain socket-default eap-identity eap-mschapv2")))
{
exit(SS_RC_INITIALIZATION_FAILED);
}
diff --git a/src/frontends/osx/strongSwan.xcodeproj/project.pbxproj b/src/frontends/osx/strongSwan.xcodeproj/project.pbxproj
index 8cf467a1e..05e38d362 100644
--- a/src/frontends/osx/strongSwan.xcodeproj/project.pbxproj
+++ b/src/frontends/osx/strongSwan.xcodeproj/project.pbxproj
@@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
+ 5B74984D172AA3550041971E /* xpc_dispatch.c in Sources */ = {isa = PBXBuildFile; fileRef = 5B74984C172AA3550041971E /* xpc_dispatch.c */; };
5BD1CCD71726DB4000587077 /* charon-xpc.c in Sources */ = {isa = PBXBuildFile; fileRef = 5BD1CCD61726DB4000587077 /* charon-xpc.c */; };
5BF60F31173405A000E5D608 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BD1CCD31726DB4000587077 /* CoreFoundation.framework */; };
5BF60F33173405AC00E5D608 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5BD1CCF21727DE3E00587077 /* Security.framework */; };