]> git.ipfire.org Git - people/ms/strongswan.git/log
people/ms/strongswan.git
9 years agoMerge branch 'win-32bit'
Martin Willi [Fri, 6 Jun 2014 14:32:31 +0000 (16:32 +0200)] 
Merge branch 'win-32bit'

Fixes some issues when building 32-bit Windows binaries. Mostly related
to the call API. Introduces a Travis 32-bit Windows build variant.

9 years agotravis: Add a Windows 32-bit variant build test
Martin Willi [Thu, 5 Jun 2014 12:07:21 +0000 (14:07 +0200)] 
travis: Add a Windows 32-bit variant build test

9 years agowindows: Link against psapi32
Martin Willi [Thu, 5 Jun 2014 11:14:13 +0000 (13:14 +0200)] 
windows: Link against psapi32

On some version GetModuleFileNameEx/GetModuleInformation is in psapi32 instead
of kernel32. We link to both libraries to make sure we have it.

9 years agobacktrace: Use GetModuleInformation/GetModuleFileNameEx directly on Win32
Martin Willi [Thu, 5 Jun 2014 11:12:38 +0000 (13:12 +0200)] 
backtrace: Use GetModuleInformation/GetModuleFileNameEx directly on Win32

The K32 variants are actually needed on 64-bit only.

9 years agowindows: Use WINAPI call convention for Windows API callbacks
Martin Willi [Thu, 5 Jun 2014 11:10:43 +0000 (13:10 +0200)] 
windows: Use WINAPI call convention for Windows API callbacks

For x86_64 it does not actually matter, but for i686 builds the call convention
is different with WINAPI.

9 years agowindows: Do not check if having clock_gettime()
Martin Willi [Thu, 5 Jun 2014 11:08:38 +0000 (13:08 +0200)] 
windows: Do not check if having clock_gettime()

Windows does not have it, but libwinpthread has. If this library is available
during build, it will be linked, which we prefer to avoid.

9 years agoVersion bump to 5.2.0dr6
Andreas Steffen [Fri, 6 Jun 2014 09:18:11 +0000 (11:18 +0200)] 
Version bump to 5.2.0dr6

9 years agoUbuntu 14.04 updated to 3.13.0-29 kernel
Andreas Steffen [Fri, 6 Jun 2014 09:17:38 +0000 (11:17 +0200)] 
Ubuntu 14.04 updated to 3.13.0-29 kernel

9 years agoExtended pt-tls-client PLUGINS list
Andreas Steffen [Fri, 6 Jun 2014 09:16:41 +0000 (11:16 +0200)] 
Extended pt-tls-client PLUGINS list

9 years agoUpdated REST API
Andreas Steffen [Fri, 6 Jun 2014 08:55:42 +0000 (10:55 +0200)] 
Updated REST API

9 years agoandroid: Add all Android.mk files to the tarball
Tobias Brunner [Fri, 6 Jun 2014 08:12:26 +0000 (10:12 +0200)] 
android: Add all Android.mk files to the tarball

9 years agoFixed typo in strongswan.conf
Andreas Steffen [Thu, 5 Jun 2014 09:26:54 +0000 (11:26 +0200)] 
Fixed typo in strongswan.conf

9 years agoNEWS: Introduce Windows support
Martin Willi [Wed, 4 Jun 2014 14:41:50 +0000 (16:41 +0200)] 
NEWS: Introduce Windows support

9 years agoMerge branch 'win-fetcher'
Martin Willi [Wed, 4 Jun 2014 14:35:02 +0000 (16:35 +0200)] 
Merge branch 'win-fetcher'

Implements a HTTP/HTTPS fetcher for the Windows platform using the native
WinHTTP API.

9 years agotravis: Build "all" tests without Windows HTTP fetcher
Martin Willi [Wed, 2 Apr 2014 09:36:19 +0000 (11:36 +0200)] 
travis: Build "all" tests without Windows HTTP fetcher

We don't include it in the Windows build test either, as MinGW does not come
with -lwinhttp.

9 years agopki: Support complex trustchain and revocation checking in --verify
Martin Willi [Fri, 4 Apr 2014 08:37:59 +0000 (10:37 +0200)] 
pki: Support complex trustchain and revocation checking in --verify

9 years agounit-tests: Zero-initialize chunk to avoid free on non-successful fetch
Martin Willi [Mon, 2 Jun 2014 10:52:32 +0000 (12:52 +0200)] 
unit-tests: Zero-initialize chunk to avoid free on non-successful fetch

If the fetch fails, the fetcher is not required to return an empty chunk. Avoid
the resulting invalid free() by initializing data.ptr to NULL.

9 years agowinhttp: Support basic authentication for URLs having credentials
Martin Willi [Mon, 2 Jun 2014 09:55:18 +0000 (11:55 +0200)] 
winhttp: Support basic authentication for URLs having credentials

9 years agowinhttp: Support new response code fetcher option
Martin Willi [Mon, 19 May 2014 14:15:37 +0000 (16:15 +0200)] 
winhttp: Support new response code fetcher option

9 years agowinhttp: Implement a http(s) fetcher based on Microsofts WinHTTP API
Martin Willi [Thu, 30 Jan 2014 13:07:53 +0000 (14:07 +0100)] 
winhttp: Implement a http(s) fetcher based on Microsofts WinHTTP API

9 years agoMerge branch 'win-kernel'
Martin Willi [Wed, 4 Jun 2014 14:32:23 +0000 (16:32 +0200)] 
Merge branch 'win-kernel'

Adds the kernel-iph and kernel-wfp kernel backends for the Windows platform.
kernel-iph provides a networking backend using the IP Helper native Windows
API, while the kernel-wfp backend implements an interface to the Windows Kernel
IPsec layer using the Windows Filtering Platform API.

9 years agotravis: Build "all" tests without Windows kernel backends
Martin Willi [Wed, 2 Apr 2014 09:35:19 +0000 (11:35 +0200)] 
travis: Build "all" tests without Windows kernel backends

9 years agokernel-wfp: Include Windows header patch for MinGW 4.8.1
Martin Willi [Fri, 9 May 2014 13:11:58 +0000 (15:11 +0200)] 
kernel-wfp: Include Windows header patch for MinGW 4.8.1

9 years agokernel-wfp: Clone acquire traffic selectors only if they exist
Martin Willi [Wed, 9 Apr 2014 08:42:36 +0000 (10:42 +0200)] 
kernel-wfp: Clone acquire traffic selectors only if they exist

9 years agokernel-wfp: Install routes for trap policies
Martin Willi [Wed, 9 Apr 2014 08:42:15 +0000 (10:42 +0200)] 
kernel-wfp: Install routes for trap policies

9 years agokernel-wfp: Refactor route management to separate function
Martin Willi [Wed, 9 Apr 2014 08:41:32 +0000 (10:41 +0200)] 
kernel-wfp: Refactor route management to separate function

9 years agokernel-wfp: Install tunnel mode policies to appropriate sub-layers
Martin Willi [Tue, 8 Apr 2014 13:58:38 +0000 (15:58 +0200)] 
kernel-wfp: Install tunnel mode policies to appropriate sub-layers

While it is unclear if this has any effect at all, we prefer specific sublayers
to install policies as suggested.

9 years agokernel-wfp: Declare GUIDs and auth/cipher configs missing in some MinGW builds
Martin Willi [Thu, 2 Jan 2014 16:31:30 +0000 (17:31 +0100)] 
kernel-wfp: Declare GUIDs and auth/cipher configs missing in some MinGW builds

9 years agokernel-wfp: Support multiple traffic selectors on tunnel mode SAs
Martin Willi [Tue, 24 Dec 2013 10:34:50 +0000 (11:34 +0100)] 
kernel-wfp: Support multiple traffic selectors on tunnel mode SAs

9 years agochild-sa: Pass the number of total policies tied to an SA to the kernel
Martin Willi [Tue, 24 Dec 2013 10:27:59 +0000 (11:27 +0100)] 
child-sa: Pass the number of total policies tied to an SA to the kernel

This will be useful if the kernel backend has to know how many policies
follow an SA install, for example if it must install all policies concurrently.

9 years agokernel-iph: Implicitly enable IP forwarding when installing routes
Martin Willi [Tue, 24 Dec 2013 09:40:09 +0000 (10:40 +0100)] 
kernel-iph: Implicitly enable IP forwarding when installing routes

9 years agokernel-wfp: Show a warning for packets the kernel drops in its IPsec layers
Martin Willi [Tue, 24 Dec 2013 09:01:35 +0000 (10:01 +0100)] 
kernel-wfp: Show a warning for packets the kernel drops in its IPsec layers

9 years agokernel-wfp: Set flag to get UDP encapsulation with tunnel mode working
Martin Willi [Mon, 23 Dec 2013 17:45:13 +0000 (18:45 +0100)] 
kernel-wfp: Set flag to get UDP encapsulation with tunnel mode working

Having this flag set fixes connections initiated by the Windows host, but
unfortunately does not yet fix incoming connections. Connection state issue?
We still see 0xc00000e2 error events, translating to INTERNAL_ERROR.

9 years agokernel-wfp: Install tunnel and trap forward policies
Martin Willi [Fri, 20 Dec 2013 13:42:10 +0000 (14:42 +0100)] 
kernel-wfp: Install tunnel and trap forward policies

9 years agokernel-wfp: Manually create a ProviderContext to attach individual filters
Martin Willi [Thu, 19 Dec 2013 15:55:43 +0000 (16:55 +0100)] 
kernel-wfp: Manually create a ProviderContext to attach individual filters

This gives us more flexibility than using the intransparent FwpmIPsecTunnelAdd,
and fixes the issues we have seen with trap policies. Forward filters are
still missing, but required for site-to-site tunnels.

9 years agokernel-wfp: Print filter weight in "ipsecdump filters"
Martin Willi [Thu, 19 Dec 2013 13:23:08 +0000 (14:23 +0100)] 
kernel-wfp: Print filter weight in "ipsecdump filters"

9 years agokernel-wfp: Add support for trap policies and acquires
Martin Willi [Thu, 19 Dec 2013 13:22:00 +0000 (14:22 +0100)] 
kernel-wfp: Add support for trap policies and acquires

9 years agosocket-win: Install IKE bypass policies using bypass_socket()
Martin Willi [Thu, 19 Dec 2013 13:14:37 +0000 (14:14 +0100)] 
socket-win: Install IKE bypass policies using bypass_socket()

9 years agokernel-wfp: Implement bypass_socket() using dedicated filter rules
Martin Willi [Thu, 19 Dec 2013 13:13:06 +0000 (14:13 +0100)] 
kernel-wfp: Implement bypass_socket() using dedicated filter rules

9 years agokernel-wfp: Register for WFP Net events
Martin Willi [Thu, 19 Dec 2013 08:48:43 +0000 (09:48 +0100)] 
kernel-wfp: Register for WFP Net events

9 years agokernel-wfp: Add some missing IPv6 GUIDs, fix IPv6 host conversion
Martin Willi [Wed, 18 Dec 2013 10:56:36 +0000 (11:56 +0100)] 
kernel-wfp: Add some missing IPv6 GUIDs, fix IPv6 host conversion

9 years agokernel-wfp: Add an ipsecdump "filters" command to print IPsec related filters
Martin Willi [Wed, 18 Dec 2013 10:57:36 +0000 (11:57 +0100)] 
kernel-wfp: Add an ipsecdump "filters" command to print IPsec related filters

9 years agokernel-wfp: Add an ipsecdump utility to show installed SAs/SPs on Windows
Martin Willi [Mon, 16 Dec 2013 16:13:03 +0000 (17:13 +0100)] 
kernel-wfp: Add an ipsecdump utility to show installed SAs/SPs on Windows

9 years agokernel-wfp: Depend on used RNG plugin features
Martin Willi [Mon, 16 Dec 2013 11:12:57 +0000 (12:12 +0100)] 
kernel-wfp: Depend on used RNG plugin features

9 years agokernel-wfp: Implement update_sa()
Martin Willi [Fri, 13 Dec 2013 16:14:26 +0000 (17:14 +0100)] 
kernel-wfp: Implement update_sa()

9 years agokernel-wfp: Configure ports for SAs using UDP encapsulation
Martin Willi [Mon, 16 Dec 2013 11:13:39 +0000 (12:13 +0100)] 
kernel-wfp: Configure ports for SAs using UDP encapsulation

9 years agokernel-wfp: Refactor SA context construction, and use IPsecSaContextCreate1()
Martin Willi [Fri, 13 Dec 2013 16:13:39 +0000 (17:13 +0100)] 
kernel-wfp: Refactor SA context construction, and use IPsecSaContextCreate1()

9 years agokernel-iph: Fire roam events for detected address changes
Martin Willi [Fri, 13 Dec 2013 16:12:38 +0000 (17:12 +0100)] 
kernel-iph: Fire roam events for detected address changes

9 years agokernel-wfp: Allocate SPIs pseudo-randomly using a 0xc prefix
Martin Willi [Fri, 13 Dec 2013 14:34:13 +0000 (15:34 +0100)] 
kernel-wfp: Allocate SPIs pseudo-randomly using a 0xc prefix

9 years agokernel-wfp: Install appropriate routes for tunnel mode policies
Martin Willi [Fri, 13 Dec 2013 14:33:42 +0000 (15:33 +0100)] 
kernel-wfp: Install appropriate routes for tunnel mode policies

9 years agokernel-iph: Implement add/del_route()
Martin Willi [Fri, 13 Dec 2013 11:52:06 +0000 (12:52 +0100)] 
kernel-iph: Implement add/del_route()

9 years agokernel-iph: Implement get_nexthop()
Martin Willi [Thu, 12 Dec 2013 16:34:06 +0000 (17:34 +0100)] 
kernel-iph: Implement get_nexthop()

9 years agokernel-iph: Implement get_source_addr()
Martin Willi [Thu, 12 Dec 2013 16:28:51 +0000 (17:28 +0100)] 
kernel-iph: Implement get_source_addr()

9 years agokernel-iph: Implement address enumeration
Martin Willi [Thu, 12 Dec 2013 15:29:31 +0000 (16:29 +0100)] 
kernel-iph: Implement address enumeration

9 years agokernel-iph: Implement get_interface() method
Martin Willi [Thu, 12 Dec 2013 14:41:39 +0000 (15:41 +0100)] 
kernel-iph: Implement get_interface() method

9 years agokernel-iph: Create and maintain a cache of interfaces and associated addresses
Martin Willi [Thu, 12 Dec 2013 14:37:21 +0000 (15:37 +0100)] 
kernel-iph: Create and maintain a cache of interfaces and associated addresses

9 years agokernel-iph: Add a stub for a Windows IP Helper based networking backend
Martin Willi [Thu, 12 Dec 2013 08:35:36 +0000 (09:35 +0100)] 
kernel-iph: Add a stub for a Windows IP Helper based networking backend

9 years agokernel-wfp: Disable IPsec policy updates
Martin Willi [Wed, 11 Dec 2013 15:02:11 +0000 (16:02 +0100)] 
kernel-wfp: Disable IPsec policy updates

It seems that WFP requires an update of the SA context only, but not for the
filters. This allows us to omit support for (fallback) drop policies.

9 years agokernel-interface: Add a flag to indicate no policy updates required
Martin Willi [Wed, 11 Dec 2013 14:57:46 +0000 (15:57 +0100)] 
kernel-interface: Add a flag to indicate no policy updates required

9 years agokernel-wfp: Increment SPIs properly, that is while in host order
Martin Willi [Wed, 11 Dec 2013 14:38:28 +0000 (15:38 +0100)] 
kernel-wfp: Increment SPIs properly, that is while in host order

9 years agokernel-wfp: Triggering expire events for SAs to rekey/delete
Martin Willi [Wed, 11 Dec 2013 14:14:55 +0000 (15:14 +0100)] 
kernel-wfp: Triggering expire events for SAs to rekey/delete

9 years agokernel-wfp: Enforce hard lifetimes of SAs
Martin Willi [Wed, 11 Dec 2013 13:42:56 +0000 (14:42 +0100)] 
kernel-wfp: Enforce hard lifetimes of SAs

9 years agokernel-wfp: Add some notes about query_sa/policy() support
Martin Willi [Wed, 11 Dec 2013 13:36:21 +0000 (14:36 +0100)] 
kernel-wfp: Add some notes about query_sa/policy() support

9 years agokernel-wfp: Reference SA/SP sets by SPI and destination, not reqid
Martin Willi [Tue, 10 Dec 2013 17:15:41 +0000 (18:15 +0100)] 
kernel-wfp: Reference SA/SP sets by SPI and destination, not reqid

This allows us to have multiple CHILD_SAs for the same reqid, and brings
rekeying support.

9 years agokernel-wfp: Add support for tunnel mode connections
Martin Willi [Wed, 11 Dec 2013 12:16:49 +0000 (13:16 +0100)] 
kernel-wfp: Add support for tunnel mode connections

9 years agokernel-wfp: Register a WFP provider to manage IPsec tunnels
Martin Willi [Thu, 5 Dec 2013 13:29:05 +0000 (14:29 +0100)] 
kernel-wfp: Register a WFP provider to manage IPsec tunnels

9 years agokernel-wfp: Preliminary support for transport mode connections
Martin Willi [Mon, 18 Nov 2013 11:57:36 +0000 (12:57 +0100)] 
kernel-wfp: Preliminary support for transport mode connections

9 years agokernel-wfp: Fix/Complete some fwpuclnt functionality in MinGW
Martin Willi [Fri, 15 Nov 2013 11:09:46 +0000 (12:09 +0100)] 
kernel-wfp: Fix/Complete some fwpuclnt functionality in MinGW

While MinGW declares all the required symbols, some of them are missing in the
library files. We provide missing variables locally, functions get a stub
that call the GetProcAddress()ed function from the DLL.

Also some MinGW headers define some enum values incorrectly, we overload these
using defines.

9 years agokernel-wfp: Open and close a WFP engine
Martin Willi [Thu, 7 Nov 2013 14:50:46 +0000 (15:50 +0100)] 
kernel-wfp: Open and close a WFP engine

9 years agokernel-wfp: Create userland state for SAs/policies to install in kernel
Martin Willi [Fri, 1 Nov 2013 09:54:38 +0000 (10:54 +0100)] 
kernel-wfp: Create userland state for SAs/policies to install in kernel

9 years agokernel-wfp: Add a stub for a Windows Filtering Platform based IPsec backend
Martin Willi [Thu, 31 Oct 2013 13:58:43 +0000 (14:58 +0100)] 
kernel-wfp: Add a stub for a Windows Filtering Platform based IPsec backend

9 years agoMerge branch 'win-socket'
Martin Willi [Wed, 4 Jun 2014 14:31:18 +0000 (16:31 +0200)] 
Merge branch 'win-socket'

Adds a socket-win plugin providing an IKE socket implementation for Windows
based on the native Winsock2 API.

9 years agotravis: Include socket backend in Windows build test
Martin Willi [Fri, 9 May 2014 12:48:19 +0000 (14:48 +0200)] 
travis: Include socket backend in Windows build test

9 years agotravis: Build "all" tests without Windows socket backend
Martin Willi [Wed, 2 Apr 2014 09:33:07 +0000 (11:33 +0200)] 
travis: Build "all" tests without Windows socket backend

9 years agosocket-win: Implement a Windows socket plugin using Winsock2
Martin Willi [Wed, 30 Oct 2013 17:01:18 +0000 (18:01 +0100)] 
socket-win: Implement a Windows socket plugin using Winsock2

9 years agoMerge branch 'win'
Martin Willi [Wed, 4 Jun 2014 14:26:58 +0000 (16:26 +0200)] 
Merge branch 'win'

Ports the strongSwan core libraries and some plugins to the Windows platform
using a MinGW based toolchain. Beside generic platform abstraction and
the windows.[ch] compatibility layer, this merge introduces a Windows native
threading backend and a charon-svc Windows IKE service.

Travis adds a MinGW cross-compile build to Windows, and further enables -Werror
to let builds fail for all compiler warnings with gcc and Clang.

9 years agotravis: Define a Windows build test using MinGW
Martin Willi [Thu, 8 May 2014 15:08:42 +0000 (17:08 +0200)] 
travis: Define a Windows build test using MinGW

9 years agotravis: Perform build tests with -Werror
Martin Willi [Thu, 8 May 2014 13:14:33 +0000 (15:14 +0200)] 
travis: Perform build tests with -Werror

9 years agowindows: Compile with -mno-ms-bitfields if option not set explicitly
Martin Willi [Tue, 3 Jun 2014 09:06:50 +0000 (11:06 +0200)] 
windows: Compile with -mno-ms-bitfields if option not set explicitly

-mms-bitfields is the default in newer MinGWs, but it breaks
__attribute__((packed)).

9 years agoconfigure: Fix attribute((packed)) test when using -Werror
Martin Willi [Thu, 8 May 2014 14:37:48 +0000 (16:37 +0200)] 
configure: Fix attribute((packed)) test when using -Werror

9 years agoconfigure: Mark conftest variable as unused to pass test with -Werror
Martin Willi [Thu, 8 May 2014 13:12:06 +0000 (15:12 +0200)] 
configure: Mark conftest variable as unused to pass test with -Werror

When using -Werror, the warning for the unused variable would let the test fail,
even if in6addr_any is available.

9 years agoconfigure: Don't use -rdynamic with the LLVM toolchain
Martin Willi [Thu, 8 May 2014 14:28:50 +0000 (16:28 +0200)] 
configure: Don't use -rdynamic with the LLVM toolchain

9 years agocharon-svc: Register for stop events not before reaching STATUS_RUNNING
Martin Willi [Wed, 28 May 2014 14:14:04 +0000 (16:14 +0200)] 
charon-svc: Register for stop events not before reaching STATUS_RUNNING

MSDN SetServiceStatus(): "Do not register to accept controls while the status
is SERVICE_START_PENDING or the service can crash."

9 years agocharon-svc: Check if daemon has been initialized before invoking shutdown alert
Martin Willi [Wed, 28 May 2014 13:55:34 +0000 (15:55 +0200)] 
charon-svc: Check if daemon has been initialized before invoking shutdown alert

9 years agoswanctl: Stop logging with Ctrl+C on Windows as well
Martin Willi [Thu, 6 Mar 2014 10:22:19 +0000 (11:22 +0100)] 
swanctl: Stop logging with Ctrl+C on Windows as well

9 years agovici: Add Windows support
Martin Willi [Thu, 20 Feb 2014 10:29:35 +0000 (11:29 +0100)] 
vici: Add Windows support

9 years agowindows: Provide POSIX supplement errno values missing in MinGW
Martin Willi [Fri, 9 May 2014 08:17:03 +0000 (10:17 +0200)] 
windows: Provide POSIX supplement errno values missing in MinGW

MinGW headers do not define these values, but Windows system headers do.
Windows defines them for POSIX compatibility, we do the same locally.

9 years agowindows: Provide shutdown(2) operation aliases mapping to those on Windows
Martin Willi [Wed, 9 Apr 2014 12:21:12 +0000 (14:21 +0200)] 
windows: Provide shutdown(2) operation aliases mapping to those on Windows

9 years agox509: Check return value when signing attribute certificates
Martin Willi [Thu, 3 Apr 2014 13:44:02 +0000 (15:44 +0200)] 
x509: Check return value when signing attribute certificates

In addition that this lets AC generation fail properly if private key signing
fails, it also fixes an issue when compiling on Windows with MinGW 4.8.1, where
for some reason the attributeCertificateInfo got encoded incorrectly.

9 years agounit-tests: Support testable functions on Windows, avoid weak GCC symbols
Martin Willi [Thu, 3 Apr 2014 10:25:38 +0000 (12:25 +0200)] 
unit-tests: Support testable functions on Windows, avoid weak GCC symbols

Instead of using weak symbols, we use dlsym() on Windows to find an arbitrary
symbol in libtest to detect its linkage. Instead of creating the associated
hashtable in the test runner, we maintain it in libstrongswan, making it
significantly simpler.

9 years agounit-tests: Seed chunk_hash() only once, but before creating any hashtables
Martin Willi [Thu, 3 Apr 2014 09:46:09 +0000 (11:46 +0200)] 
unit-tests: Seed chunk_hash() only once, but before creating any hashtables

Due to the removal of pthread_once, we manually create the seed for
chunk_hash(). With the new testable functions interface, this won't work for
the hashtable initiated using __attribute__((constructor)). Enforce seeding
before creating that hashtable.

9 years agopki: Provide a fallback if strptime() not supported
Martin Willi [Thu, 3 Apr 2014 09:15:51 +0000 (11:15 +0200)] 
pki: Provide a fallback if strptime() not supported

For simplicity, we support the default pki datetime format only, but optionally
accept four digit years for longer lifetimes.

9 years agoopenssl: Don't re-enter FIPS mode if we are already using it
Martin Willi [Wed, 2 Apr 2014 13:16:15 +0000 (15:16 +0200)] 
openssl: Don't re-enter FIPS mode if we are already using it

If FIPS mode has been enabled by other means, under some environments it can't
be entered again. It fails with "FIPS mode already set". To avoid it, we first
check the mode before changing it.

9 years agounit-tests: Force a CET/CEST timezone Windows understands
Martin Willi [Wed, 2 Apr 2014 10:29:32 +0000 (12:29 +0200)] 
unit-tests: Force a CET/CEST timezone Windows understands

As it is currently unclear what the "three-letter-timezone" for CEST is, we
use the German timezone, which actually is CET/CEST. SetEnvironmentVariable()
"TZ" does not seem to affect localtime(), so we use _putenv() instead.

9 years agotravis: Build "all" test without Windows specific charon-svc or dbghelp
Martin Willi [Wed, 2 Apr 2014 09:31:41 +0000 (11:31 +0200)] 
travis: Build "all" test without Windows specific charon-svc or dbghelp

9 years agoutils: Add a wait_sigint() function to wait for SIGINT or equivalent
Martin Willi [Mon, 10 Mar 2014 11:12:47 +0000 (12:12 +0100)] 
utils: Add a wait_sigint() function to wait for SIGINT or equivalent

9 years agopki: Switch to binary mode on Windows when reading/writing DER to FDs
Martin Willi [Sat, 8 Mar 2014 13:57:54 +0000 (14:57 +0100)] 
pki: Switch to binary mode on Windows when reading/writing DER to FDs

9 years agopki: Stop prompting for password when entering empty string
Martin Willi [Mon, 10 Mar 2014 16:35:06 +0000 (17:35 +0100)] 
pki: Stop prompting for password when entering empty string

9 years agochunk: On Windows, use binary mode in chunk_write()
Martin Willi [Sat, 8 Mar 2014 13:37:28 +0000 (14:37 +0100)] 
chunk: On Windows, use binary mode in chunk_write()

9 years agoimv: Provide database table scheme for MySQL
Martin Willi [Fri, 7 Mar 2014 11:53:19 +0000 (12:53 +0100)] 
imv: Provide database table scheme for MySQL