-
f1e7b9b0d7
pki: Stop prompting for password when entering empty string
Martin Willi
2014-03-10 17:35:06 +01:00
-
1309cb7b1a
chunk: On Windows, use binary mode in chunk_write()
Martin Willi
2014-03-08 14:37:28 +01:00
-
fc50731376
imv: Provide database table scheme for MySQL
Martin Willi
2014-03-07 12:53:19 +01:00
-
0b78661042
libpts: Respect path separators when concatenating database filenames
Martin Willi
2014-03-07 12:28:07 +01:00
-
0731d41ca9
attest: Properly separate and build absolute path names on Windows
Martin Willi
2014-03-07 12:27:20 +01:00
-
ecc6c2e8a4
libimcv: Pass TNC_SESSION_ID as argument instead as a environment variable
Martin Willi
2014-03-06 19:08:24 +01:00
-
9b7d1a3b33
libimcv: Be a little more verbose about the Windows system reported
Martin Willi
2014-03-06 17:35:51 +01:00
-
ede10dd974
imv: Return an empty enumerator instead of null, as expected by callers
Martin Willi
2014-03-06 17:25:21 +01:00
-
5388389bef
imc-os: Add missing TNC_IMC_API definitions, fixes warnings on Windows
Martin Willi
2014-03-06 17:24:49 +01:00
-
0c512610cc
imv-os: Don't build pacman on Windows
Martin Willi
2014-03-06 17:24:27 +01:00
-
55c2b47a90
file-logger: Emulate setlinebuf() if not supported by using fflush()
Martin Willi
2014-03-05 16:28:38 +01:00
-
fc987bea52
charon-svc: When running as service, change working directory to executable
Martin Willi
2014-03-05 15:45:42 +01:00
-
93168c5f1d
openssl: Be less verbose about FIPS mode when not running as daemon
Martin Willi
2014-03-05 12:18:33 +01:00
-
74e14ea547
unit-tests: Adapt settings tests for Windows
Martin Willi
2014-03-04 14:00:11 +01:00
-
b67069b00c
swanctl: Concatenate relative certificate paths correctly on Windows
Martin Willi
2014-05-15 15:12:35 +02:00
-
bc9fd3735d
parser-helper: Detect absolute pathnames and concatenate paths on Windows
Martin Willi
2014-03-04 13:59:04 +01:00
-
67b3bcd13d
utils: Provide a path_absolute() function to check path for non-relativeness
Martin Willi
2014-03-07 12:25:31 +01:00
-
2496eaffde
utils: Return plain drive letter as base/pathname for drive letters on Windows
Martin Willi
2014-03-07 14:16:50 +01:00
-
8182631bc3
utils: Support Windows path separators in path_basename/dirname
Martin Willi
2014-03-07 12:12:55 +01:00
-
a43f1e5631
utils: Define a platform directory separator character used in paths
Martin Willi
2014-03-04 13:58:20 +01:00
-
b70849ada2
configure: Separate pki from --disable-tools
Martin Willi
2014-03-04 12:24:52 +01:00
-
41bb8ba5d2
windows: Provide a getpass() implementation
Martin Willi
2014-02-20 11:30:17 +01:00
-
4161ee6678
configure: Check if __attribute__((packed)) works as expected
Martin Willi
2014-01-15 17:01:24 +01:00
-
37089963b6
libpts: Use chunk_map() to load AIK blob
Martin Willi
2014-01-13 16:21:36 +01:00
-
c5447bc2f5
chunk: On Windows, chunk_map() opens files in binary mode
Martin Willi
2014-01-13 16:20:19 +01:00
-
2877355408
libpts: Fix PCR read, avoid cast of a pointer to different sized integer
Martin Willi
2014-01-09 17:29:35 +01:00
-
c9891716b8
libpts: Parse TPM version info without TrouSerS helper function
Martin Willi
2014-01-09 17:25:37 +01:00
-
becc382101
libnccs: Fix casts between integers and pointers
Martin Willi
2014-01-09 15:00:09 +01:00
-
ce3e7ac57d
tnc-imc/imv: Don't include <dlfcn.h> on Windows
Martin Willi
2014-01-09 14:59:25 +01:00
-
6d8094ee1f
libtnccs: Use a default tnc_config in the current working dir on Windows
Martin Willi
2014-01-09 14:58:32 +01:00
-
d6935ddaf6
libpts: Work around BASETSD_H define mismatch between MinGW and TSS
Martin Willi
2014-01-08 16:45:09 +01:00
-
eb8677986e
imc-attestation: Use TNC_IMV_API prefix on TNC functions for correct declspec
Martin Willi
2014-01-08 12:24:37 +01:00
-
1cd9bb49d8
libimcv: Use TNC_IMV_API prefix on TNC functions for correct declspec
Martin Willi
2014-01-08 12:23:13 +01:00
-
6b98c00285
libimcv: Silence integer to pointer cast warnings
Martin Willi
2014-01-08 12:17:01 +01:00
-
b7d71ff95d
pt-tls-client: Support platforms not having syslog()
Martin Willi
2014-06-02 11:55:59 +02:00
-
481f1d1c9a
pt-tls-client: Remove unneeded socket.h include, fixing Windows build
Martin Willi
2014-01-08 12:04:31 +01:00
-
3f8a818610
attest: Disable syslog logging if syslog() missing
Martin Willi
2014-01-08 12:03:58 +01:00
-
a81a04d39e
libpts: Fix build on Windows
Martin Willi
2014-01-08 12:00:06 +01:00
-
2a062f38d0
libpts: Link against ws_w32 on Windows
Martin Willi
2014-01-08 11:59:50 +01:00
-
9bac2c9e40
libimcv: Port os_info (partially) to Windows
Martin Willi
2014-01-08 11:56:55 +01:00
-
09e5f15a13
libimcv: Disable default syslog() logging if not supported
Martin Willi
2014-01-08 11:29:41 +01:00
-
fb7cb97d6e
libimcv: Link against ws_w32 on Windows
Martin Willi
2014-01-08 11:56:44 +01:00
-
17c17665cb
libpttls: Link against ws_w32 on Windows
Martin Willi
2014-01-08 11:07:01 +01:00
-
262802f101
libtnccs: Link against ws_w32 on Windows
Martin Willi
2014-01-08 11:06:50 +01:00
-
30308c5fdb
libtls: Link against ws_w32 on Windows
Martin Willi
2014-01-08 11:06:18 +01:00
-
ee2498e3d6
bus: Build syslog logger depending on syslog() availability
Martin Willi
2014-01-08 11:28:49 +01:00
-
89e46c41f1
windows: Include for Vista instead of defining CondVar/SRWLock functions ourself
Martin Willi
2014-01-02 18:14:51 +01:00
-
8120b3c339
windows: Don't redeclare inet_ntop/pton if already defined
Martin Willi
2014-01-02 15:20:14 +01:00
-
1f3bf4175d
windows: Check for existence of error codes before defining them
Martin Willi
2014-01-02 14:34:00 +01:00
-
89c3ff6d2c
windows: Check for clock_gettime() function itself as well
Martin Willi
2014-01-02 14:30:45 +01:00
-
3d50dd47ef
windows: Overload sleep() cancellable when it is defined in <unistd.h>
Martin Willi
2014-01-02 14:29:35 +01:00
-
9df2a04a93
sqlite: Avoid name clash when building on Windows
Martin Willi
2013-12-02 11:36:34 +01:00
-
8e1c0d15a9
mysql: Add Windows support
Martin Willi
2013-11-22 09:08:09 +01:00
-
df4341747c
charon-svc: Implement a Windows IKE service using libcharon
Martin Willi
2013-10-29 17:33:33 +01:00
-
87b43dd8b0
libcharon: Link against Winsock2 on Windows
Martin Willi
2013-10-29 10:59:08 +01:00
-
b9dca7057c
filelog: Ignore flush_line option if setlinebuf() not supported
Martin Willi
2013-10-29 10:58:39 +01:00
-
efcf249aeb
windows: Provide a close(2) that can close both file handles and sockets
Martin Willi
2013-11-21 16:27:21 +01:00
-
740404d481
chunk: Fallback to recv() on Windows chunk_from_fd() when operating on socket
Martin Willi
2013-11-21 16:27:50 +01:00
-
9ff1716029
windows: Don't use function macros to overload send/recv() and friends
Martin Willi
2013-10-29 10:48:09 +01:00
-
87664d92ca
controller: Remove unused <dlfcn.h> include
Martin Willi
2013-10-29 10:47:36 +01:00
-
c6503d451a
charon: Don't use syslog() if not supported
Martin Willi
2013-10-29 10:46:30 +01:00
-
d1eff687cf
encoding: Don't explicitly include <arpa/inet.h>
Martin Willi
2013-10-29 10:45:43 +01:00
-
3ecfc83c6b
payload: Use common prefixes for all payload type identifiers
Martin Willi
2013-10-29 10:09:39 +01:00
-
396baeaea2
windows: Never link to libpthread
Martin Willi
2013-11-06 11:17:01 +01:00
-
06c33ebf6a
openssl: Fix includes to prevent <winsock2.h> to complain about include order
Martin Willi
2013-10-25 17:30:27 +02:00
-
4f310a2e75
openssl: Undef OpenSSLs X509_NAME defined by <wincrypt.h>
Martin Willi
2013-10-25 17:29:31 +02:00
-
b7a4d44bd0
openssl: Check and link against libeay32 instead of libcrypto on Windows
Martin Willi
2013-10-25 17:28:13 +02:00
-
f3c809e615
windows: Provide a strndup(3) replacement
Martin Willi
2013-10-25 16:41:48 +02:00
-
8f3a3656d3
sha1: Include <library.h> instead of directly including <arpa/inet.h>
Martin Willi
2013-10-25 16:41:04 +02:00
-
2dbb719b76
x509: Undef OCSP_RESPONSE from <wincrypt.h> before using it
Martin Willi
2013-10-25 16:40:32 +02:00
-
4163421f91
plugins: Don't link with -rdynamic on Windows
Martin Willi
2013-10-25 16:03:47 +02:00
-
110e42361e
unit-tests: Uninline dlopen() and friends, make more dynamic, fix dlerror()
Martin Willi
2013-10-25 16:03:07 +02:00
-
204098a752
thread-value: Immediately cleanup all Windows TLS values on destroy
Martin Willi
2013-12-06 11:33:40 +01:00
-
9dec601f30
windows: Prevent queueing of multiple thread cancel APCs
Martin Willi
2014-05-28 17:34:48 +02:00
-
0fa9c95811
windows: Provide a complete native Windows threading backend
Martin Willi
2013-10-21 18:07:51 +02:00
-
a48570a046
windows: Provide a cancellable usleep(), but with ms resolution only
Martin Willi
2013-10-23 15:50:10 +02:00
-
986a577097
windows: Add a sleep function acting as cancellation point
Martin Willi
2013-10-21 16:58:54 +02:00
-
266ee0a190
windows: Provide a sched_yield() implementation
Martin Willi
2013-10-23 16:44:14 +02:00
-
5f35b73344
libipsec: Avoid name clash with sched.h clone()
Martin Willi
2014-03-10 17:06:57 +01:00
-
4de7401a98
windows: Provide a time_monotonic() based on GetTickCount64()
Martin Willi
2013-10-18 14:19:32 +02:00
-
965e846cc3
library: Change init/deinit order to allow utils to depend on threading
Martin Willi
2013-10-21 13:00:29 +02:00
-
c46cee6f6d
chunk: Don't depend on pthread directly
Martin Willi
2013-10-18 15:04:55 +02:00
-
f1c9653e04
utils: Don't directly depend on pthread
Martin Willi
2014-05-28 12:17:15 +02:00
-
eb94f58595
strerror: Don't directly depend on pthread
Martin Willi
2014-05-28 12:15:10 +02:00
-
4189cd2f03
windows: Link libhydra against Winsock2
Martin Willi
2013-10-17 17:12:34 +02:00
-
a506b922f3
windows: Provide a strdup variant safe when passing zero-length strings
Martin Willi
2013-10-17 16:23:43 +02:00
-
d8e56dfe32
unit-tests: Don't test Unix socket stream/services on Windows
Martin Willi
2013-10-17 15:09:17 +02:00
-
adaa9f3942
unit-tests: Use send/recv on socket in watcher tests
Martin Willi
2013-10-16 19:32:15 +02:00
-
aa5b49c037
stream: Separate TCP/Unix stream helpers from stream/service implementations
Martin Willi
2013-10-11 15:32:10 +02:00
-
93f78d8225
watcher: Add Windows support
Martin Willi
2013-10-17 11:56:15 +02:00
-
df0769299a
windows: Map WSAGetLastError() to errno failures in wrapped send/recv/from/to
Martin Willi
2013-10-17 11:32:48 +02:00
-
20021277f2
windows: Add send/recv and sendto/recvfrom wrappers supporting MSG_DONTWAIT
Martin Willi
2013-10-16 18:31:24 +02:00
-
82fcb80276
windows: Implement socketpair() using TCP sockets
Martin Willi
2013-10-16 17:44:32 +02:00
-
87a79e6a03
windows: Add utils_init/deinit functions to initialize Winsock2
Martin Willi
2013-10-16 17:27:19 +02:00
-
fb81820796
windows: Provide a setenv() wrapper
Martin Willi
2013-10-15 18:27:27 +02:00
-
7458952575
unit-tests: Use Windows path for chunk tests, and socket functions if required
Martin Willi
2013-11-21 16:26:18 +01:00
-
a8c86599e4
unit-tests: Don't depend on sockaddr_un to test invalid host_t family
Martin Willi
2013-10-15 18:12:39 +02:00
-
f0bfe4fa67
.gitignore: Add Windows .exe files
Martin Willi
2013-10-15 18:09:06 +02:00
-
4aaf0320d0
unit-tests: Add support for Windows build
Martin Willi
2013-10-15 17:40:58 +02:00
-
a2216a2868
windows: Fix up PRI* printf formatters when building against own backend
Martin Willi
2013-10-15 17:40:06 +02:00