Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dumm: Undefine _GNU_SOURCE before including <ruby.h>, as it usually redefines it | Martin Willi | 2014-07-09 | 1 | -0/+2 |
| | |||||
* | settings: Allow spaces in time settings before the optional unit | Martin Willi | 2014-07-07 | 2 | -2/+7 |
| | |||||
* | settings: Be more strict in converting settings to specific data types | Martin Willi | 2014-07-07 | 2 | -25/+30 |
| | | | | | | | As the behavior was inconsistent for empty strings or strings with characters appended to a number, testing the code failed on some platforms. The new rules are more strict, returning the default if additional characters or an empty string was found for a setting. | ||||
* | utils: Undefine mem{cpy,move,set} if set before defining them | Martin Willi | 2014-07-07 | 1 | -0/+9 |
| | | | | | Some platforms, such as OS X, use macros for these functions. Undefine them to avoid compiler warnings. | ||||
* | enumerator: Enumerate glob(3) matches using gl_pathc | Martin Willi | 2014-07-07 | 1 | -9/+6 |
| | | | | | | | While glob should return a NULL terminated gl_pathv when having no matches, at least on OS X this is not true when using GLOB_DOOFFS. Rely on the number of matches returned in gl_pathc, which seems to be more reliable in error cases. | ||||
* | xauth-pam: Add workaround for null-terminated passwords | Tobias Brunner | 2014-07-07 | 1 | -1/+6 |
| | | | | Fixes #631. | ||||
* | kernel-netlink: Rename algorithm identifier from cast128 to cast5 | Martin Willi | 2014-07-04 | 1 | -1/+1 |
| | | | | | | | | | | | Even if the XFRM identifier was named cast128 in the kernel before 2.6.31, it actually never worked, because there is no such crypto algorithm. The identifier has been changed to cast5 in https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=245acb87 to make it work, so we should use that. Fixes #633. | ||||
* | winhttp: Do not use countof() on pointer argument | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | optionsfrom: Properly handle errors when determining file size | Tobias Brunner | 2014-07-02 | 1 | -2/+7 |
| | |||||
* | windows: Fix off-by-one error in strerror_s_extended() | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: accept() socket handle could theoretically be 0 | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: Close correct socket when opening second socket fails in socketpair() | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | windows: Make sure the string returned from ReadConsole() is null terminated | Tobias Brunner | 2014-07-02 | 1 | -0/+2 |
| | |||||
* | windows: Remove useless assignment in put_thread() | Tobias Brunner | 2014-07-02 | 1 | -1/+1 |
| | |||||
* | backtrace: Remove name checks after SymFromAddr() calls | Tobias Brunner | 2014-07-02 | 1 | -9/+5 |
| | | | | The Name member is an array whose address is always defined. | ||||
* | pts: Avoid integer overflow when reading file names in the old IMA format | Tobias Brunner | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | imv-attestation: Avoid memory leak when skipping unsupported work items | Tobias Brunner | 2014-07-01 | 1 | -0/+1 |
| | |||||
* | pts: Use memchr(3) instead of strchr(3) to extract hash algorithm name | Tobias Brunner | 2014-07-01 | 1 | -1/+1 |
| | | | | The string read with read(2) might not be null terminated. | ||||
* | swid: fgets(3) returns a pointer to the read string or NULL | Tobias Brunner | 2014-07-01 | 1 | -3/+3 |
| | |||||
* | parser-helper: Ensure file_next() does not remove the sentinel item | Tobias Brunner | 2014-07-01 | 1 | -1/+1 |
| | |||||
* | gcrypt: Use predefined pthread locking functions instead of custom hooks | Martin Willi | 2014-07-01 | 1 | -50/+4 |
| | | | | | | | | | | | | | Starting with libgcrypt 1.6, it seems that custom locking functions are not supported anymore. Instead, the user has to select from one of the pre-defined set of locking functions. Given that we have a proper threading abstraction API with optional profiling on all platforms, this is somewhat annoying. However, there does not seem to be a way to use custom functions, and we have no other choice than using the provided macro magic to support all libgcrypt versions. Fixes #630. | ||||
* | stroke: Don't log unspecified options of conn and ca sections | Tobias Brunner | 2014-06-30 | 1 | -37/+50 |
| | |||||
* | utils: Helper macros to define overloaded macros based on number of arguments | Tobias Brunner | 2014-06-30 | 1 | -0/+26 |
| | |||||
* | pki: Document --online option for pki --verify and all exit codes | Tobias Brunner | 2014-06-30 | 1 | -5/+11 |
| | |||||
* | autoconf: Replace --disable-tools option with --disable-scepclient | Tobias Brunner | 2014-06-30 | 4 | -4/+4 |
| | | | | | Since using a separate option for pki this was the only tool that was still enabled by that option. | ||||
* | checksum: Fix checksum generation for pki if tools are disabled | Tobias Brunner | 2014-06-30 | 1 | -0/+3 |
| | |||||
* | swid: Fix parameter documentation in Doxygen comments | Tobias Brunner | 2014-06-30 | 2 | -2/+2 |
| | |||||
* | windows: Fix parameter name in Doxygen comment | Tobias Brunner | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | enum: Replace þ with p in Doxygen comments | Tobias Brunner | 2014-06-30 | 1 | -2/+2 |
| | |||||
* | libvici: Add missing argument to Doxygen comment | Tobias Brunner | 2014-06-30 | 1 | -0/+1 |
| | |||||
* | starter: Add starter group and fix formatting of conf_parser_section_t enum | Tobias Brunner | 2014-06-30 | 1 | -2/+4 |
| | | | | Make use of the Markdown support in recent Doxygen versions. | ||||
* | swanctl: Fix Doxygen group assignment | Tobias Brunner | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Fixed some typos | Tobias Brunner | 2014-06-30 | 5 | -5/+5 |
| | |||||
* | Added Android 4.4.4 to IMV database | Andreas Steffen | 2014-06-27 | 1 | -0/+12 |
| | |||||
* | kernel-pfkey: Use address in TS to determine interface for shunt routes | Tobias Brunner | 2014-06-26 | 1 | -6/+9 |
| | |||||
* | kernel-pfkey: Use subnet and prefix when determining nexthop for shunt ↵ | Tobias Brunner | 2014-06-26 | 1 | -2/+12 |
| | | | | | | policy routes This is basically the same as 88f125f5605e54b38cf8913df79e32ec6bddff10. | ||||
* | kernel-pfkey: Install routes for shunt policies | Tobias Brunner | 2014-06-26 | 1 | -4/+4 |
| | |||||
* | starter: Ingore %default conn and ca sections | Tobias Brunner | 2014-06-26 | 2 | -0/+60 |
| | |||||
* | Updated build-database.sh to 3.13.0-30-generic Ubuntu kernel | Andreas Steffen | 2014-06-26 | 1 | -1/+1 |
| | |||||
* | updown: Force subnet address to be numeric | Tobias Brunner | 2014-06-25 | 1 | -2/+2 |
| | |||||
* | windows: Include <sys/stat.h> explicitly before overloading memset()/memcpy() | Martin Willi | 2014-06-25 | 1 | -0/+1 |
| | | | | | | fstat() in newer MinGWs is defined as non-static inline. With our new static inline memset()/memcpy() overloads, this raises a warning. To avoid it, explicitly include <sys/stat.h> once before defining these overloads. | ||||
* | eap-radius: Increase buffer for accounting attributes to maximum attribute size | Martin Willi | 2014-06-25 | 1 | -1/+1 |
| | | | | Fixes #624. | ||||
* | kernel-netlink: Cast IPv6 address blobs to the proper type | Tobias Brunner | 2014-06-24 | 1 | -3/+3 |
| | | | | On Android these macros are defined as functions. | ||||
* | android: Define HAVE_DLADDR as plugin loader checks for it | Tobias Brunner | 2014-06-24 | 2 | -2/+1 |
| | |||||
* | android: Update Android.mk files to match changes due to the Windows port | Tobias Brunner | 2014-06-24 | 2 | -7/+19 |
| | | | | Makes them easier to compare to the original Makefile.am. | ||||
* | charon: Set CLOEXEC flag on daemon PID file and /dev/(u)random source FDs | Martin Willi | 2014-06-24 | 2 | -0/+15 |
| | | | | | | | | | | | | | On Fedora, SELinux complains about these open file descriptors when the updown script invokes iptables. While it seems difficult to set the flag on all file descriptors, this at least fixes those covered by the SELinux policy. As these two cases are in code executed while the daemon is still single threaded, we avoid the use of atomic but not fully portable fdopen("e") or open(O_CLOEXEC) calls. Fixes #519. | ||||
* | utils: Add wrappers for memcpy(3), memmove(3) and memset(3) | Tobias Brunner | 2014-06-24 | 1 | -1/+33 |
| | | | | | | | | These wrappers guarantee that calls to these functions are noops if the number of bytes is 0, as calling them with NULL pointers is undefined according to the C standard, even if the number of bytes is 0 (most implementations probably ignore the pointers anyway in this case, but lets make sure). | ||||
* | pki: Also check for MAX_COMMANDS when building getopt_long arguments | Tobias Brunner | 2014-06-24 | 1 | -1/+1 |
| | | | | Completes 87e53819a6 and 0a8c399a21. | ||||
* | Auxiliary swid_tagstats table boosts performance | Andreas Steffen | 2014-06-23 | 1 | -0/+14 |
| | |||||
* | unit-tests: Add tests for DH factory | Tobias Brunner | 2014-06-20 | 1 | -0/+157 |
| |