aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * unit-tests: Support testable functions on Windows, avoid weak GCC symbolsMartin Willi2014-06-043-61/+61
| | | | | | | | | | | | | | 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.
| * unit-tests: Seed chunk_hash() only once, but before creating any hashtablesMartin Willi2014-06-044-9/+14
| | | | | | | | | | | | | | 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.
| * pki: Provide a fallback if strptime() not supportedMartin Willi2014-06-042-10/+64
| | | | | | | | | | For simplicity, we support the default pki datetime format only, but optionally accept four digit years for longer lifetimes.
| * openssl: Don't re-enter FIPS mode if we are already using itMartin Willi2014-06-041-2/+3
| | | | | | | | | | | | 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.
| * unit-tests: Force a CET/CEST timezone Windows understandsMartin Willi2014-06-041-0/+4
| | | | | | | | | | | | 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.
| * travis: Build "all" test without Windows specific charon-svc or dbghelpMartin Willi2014-06-041-1/+2
| |
| * utils: Add a wait_sigint() function to wait for SIGINT or equivalentMartin Willi2014-06-042-0/+88
| |
| * pki: Switch to binary mode on Windows when reading/writing DER to FDsMartin Willi2014-06-0413-1/+49
| |
| * pki: Stop prompting for password when entering empty stringMartin Willi2014-06-041-1/+1
| |
| * chunk: On Windows, use binary mode in chunk_write()Martin Willi2014-06-041-1/+8
| |
| * imv: Provide database table scheme for MySQLMartin Willi2014-06-042-1/+201
| |
| * libpts: Respect path separators when concatenating database filenamesMartin Willi2014-06-041-6/+15
| | | | | | | | | | As we can't use the system native directory separator on cross-platform measurements, we determine the path separator from the base directory format.
| * attest: Properly separate and build absolute path names on WindowsMartin Willi2014-06-041-13/+28
| |
| * libimcv: Pass TNC_SESSION_ID as argument instead as a environment variableMartin Willi2014-06-044-23/+16
| | | | | | | | Doing so works on Windows as well.
| * libimcv: Be a little more verbose about the Windows system reportedMartin Willi2014-06-041-8/+10
| |
| * imv: Return an empty enumerator instead of null, as expected by callersMartin Willi2014-06-041-1/+1
| |
| * imc-os: Add missing TNC_IMC_API definitions, fixes warnings on WindowsMartin Willi2014-06-041-28/+27
| |
| * imv-os: Don't build pacman on WindowsMartin Willi2014-06-041-0/+2
| |
| * file-logger: Emulate setlinebuf() if not supported by using fflush()Martin Willi2014-06-041-0/+12
| |
| * charon-svc: When running as service, change working directory to executableMartin Willi2014-06-041-1/+30
| | | | | | | | | | Services get executed with system32 as current working directory. This does not work for us, as we expect paths to be relative to the executable.
| * openssl: Be less verbose about FIPS mode when not running as daemonMartin Willi2014-06-041-2/+2
| | | | | | | | | | While this is valuable information, printing it for pki and other tools is annoying.
| * unit-tests: Adapt settings tests for WindowsMartin Willi2014-06-041-2/+13
| |
| * swanctl: Concatenate relative certificate paths correctly on WindowsMartin Willi2014-06-041-3/+5
| |
| * parser-helper: Detect absolute pathnames and concatenate paths on WindowsMartin Willi2014-06-041-2/+3
| |
| * utils: Provide a path_absolute() function to check path for non-relativenessMartin Willi2014-06-043-38/+88
| | | | | | | | The usually used trivial '/' check won't work on Windows platforms.
| * utils: Return plain drive letter as base/pathname for drive letters on WindowsMartin Willi2014-06-041-0/+9
| |
| * utils: Support Windows path separators in path_basename/dirnameMartin Willi2014-06-042-9/+28
| |
| * utils: Define a platform directory separator character used in pathsMartin Willi2014-06-041-0/+9
| |
| * configure: Separate pki from --disable-toolsMartin Willi2014-06-045-6/+13
| | | | | | | | While pki builds and runs just fine on Windows, this is not true for scepclient.
| * windows: Provide a getpass() implementationMartin Willi2014-06-042-0/+65
| |
| * configure: Check if __attribute__((packed)) works as expectedMartin Willi2014-06-041-0/+11
| | | | | | | | | | | | | | | | This is really hard to detect if not, and is not unlikely. If -mms-bitfields is given, the attribute does not work. Even worse, that switch is by default on with GCC/MinGW 4.7+ for Windows targets. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
| * libpts: Use chunk_map() to load AIK blobMartin Willi2014-06-041-27/+16
| |
| * chunk: On Windows, chunk_map() opens files in binary modeMartin Willi2014-06-041-2/+7
| |
| * libpts: Fix PCR read, avoid cast of a pointer to different sized integerMartin Willi2014-06-041-3/+4
| |
| * libpts: Parse TPM version info without TrouSerS helper functionMartin Willi2014-06-041-17/+11
| | | | | | | | | | Trspi_UnloadBlob_CAP_VERSION_INFO() is a TrouSerS specific function, not available on all platforms.
| * libnccs: Fix casts between integers and pointersMartin Willi2014-06-041-2/+2
| |
| * tnc-imc/imv: Don't include <dlfcn.h> on WindowsMartin Willi2014-06-042-0/+4
| |
| * libtnccs: Use a default tnc_config in the current working dir on WindowsMartin Willi2014-06-041-1/+7
| |
| * libpts: Work around BASETSD_H define mismatch between MinGW and TSSMartin Willi2014-06-041-0/+4
| |
| * imc-attestation: Use TNC_IMV_API prefix on TNC functions for correct declspecMartin Willi2014-06-041-27/+27
| |
| * libimcv: Use TNC_IMV_API prefix on TNC functions for correct declspecMartin Willi2014-06-041-27/+28
| |
| * libimcv: Silence integer to pointer cast warningsMartin Willi2014-06-042-5/+2
| |
| * pt-tls-client: Support platforms not having syslog()Martin Willi2014-06-041-2/+11
| |
| * pt-tls-client: Remove unneeded socket.h include, fixing Windows buildMartin Willi2014-06-041-1/+0
| |
| * attest: Disable syslog logging if syslog() missingMartin Willi2014-06-041-17/+27
| |
| * libpts: Fix build on WindowsMartin Willi2014-06-041-1/+2
| |
| * libpts: Link against ws_w32 on WindowsMartin Willi2014-06-041-0/+4
| |
| * libimcv: Port os_info (partially) to WindowsMartin Willi2014-06-043-12/+82
| |
| * libimcv: Disable default syslog() logging if not supportedMartin Willi2014-06-041-16/+24
| |
| * libimcv: Link against ws_w32 on WindowsMartin Willi2014-06-041-0/+4
| |