Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added tests for utils/utils.[ch] | Tobias Brunner | 2013-06-11 | 1 | -0/+375 | |
| | ||||||
* | Allow memstr() to be called with NULL arguments | Tobias Brunner | 2013-06-11 | 1 | -1/+6 | |
| | ||||||
* | Removed unused clalloc() function | Tobias Brunner | 2013-06-11 | 2 | -18/+0 | |
| | ||||||
* | timeval_add_ms() fixed | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | | | 1000000us are exactly 1s so. | |||||
* | Additional tests for chunk_t | Tobias Brunner | 2013-06-11 | 1 | -2/+625 | |
| | ||||||
* | Also capture coverage data for tests but filter them from the result | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | | | | Otherwise calls from test cases to static inline functions are not captured. | |||||
* | Add tests for lib->get|set | Tobias Brunner | 2013-06-11 | 4 | -1/+61 | |
| | ||||||
* | Remove dead code in token enumerator | Tobias Brunner | 2013-06-11 | 1 | -12/+2 | |
| | | | | | | Since we always search for the nearest separator (and strip them from the front of the next token) there can't be any separators left at the end of a token. | |||||
* | Additional and improved enumerator_t tests | Tobias Brunner | 2013-06-11 | 1 | -4/+219 | |
| | ||||||
* | Test remove and remove_at of hashtable_t if all items are in the same bucket | Tobias Brunner | 2013-06-11 | 1 | -5/+54 | |
| | ||||||
* | Add test cases for invoke_* and clone_* of linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+144 | |
| | ||||||
* | Improve tests for linked_list_t.replace() | Tobias Brunner | 2013-06-11 | 1 | -2/+18 | |
| | ||||||
* | Add additional tests for linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -0/+51 | |
| | ||||||
* | Improved test for linked_list_t.insert_before() | Tobias Brunner | 2013-06-11 | 1 | -3/+3 | |
| | ||||||
* | Enable coverage report for libstrongswan | Tobias Brunner | 2013-06-11 | 2 | -1/+3 | |
| | ||||||
* | Use proper type for enumerator_t/linked_list_t tests | Tobias Brunner | 2013-06-11 | 2 | -10/+18 | |
| | | | | Worked with -O2 but not with -O0. | |||||
* | Converted test for recursive mutex_t | Tobias Brunner | 2013-06-11 | 6 | -30/+40 | |
| | ||||||
* | Randomly allocate chunk_hash() key during first use | Tobias Brunner | 2013-06-11 | 1 | -1/+46 | |
| | | | | This avoids hash flooding attacks. | |||||
* | Replace chunk_hash() with output from chunk_mac() | Tobias Brunner | 2013-06-11 | 2 | -75/+31 | |
| | | | | | | | The quality is way better, the calculation is a bit slower though. The key is statically initialized to zero, which will be changed later to prevent hash flooding. | |||||
* | Adding chunk_mac() which calculates a 64-bit MAC using SipHash-2-4 | Tobias Brunner | 2013-06-11 | 3 | -3/+246 | |
| | ||||||
* | Converted tests for chunk_t | Tobias Brunner | 2013-06-11 | 6 | -24/+30 | |
| | ||||||
* | Converted and added tests for hashtable_t | Tobias Brunner | 2013-06-11 | 7 | -115/+299 | |
| | ||||||
* | Converted tests for identification_t | Tobias Brunner | 2013-06-11 | 7 | -255/+215 | |
| | ||||||
* | Remove obsolete enumerator/linked_list tests in unit_tester plugin | Tobias Brunner | 2013-06-11 | 3 | -312/+0 | |
| | ||||||
* | Add tests combining linked_list_t and enumerators | Tobias Brunner | 2013-06-11 | 4 | -1/+308 | |
| | ||||||
* | Some minor Doxygen fixes for linked_list_t | Tobias Brunner | 2013-06-11 | 1 | -2/+5 | |
| | ||||||
* | Add basic tests for linked_list_t | Tobias Brunner | 2013-06-11 | 4 | -1/+288 | |
| | ||||||
* | Redirect test runner output to stderr | Tobias Brunner | 2013-06-11 | 1 | -0/+4 | |
| | | | | This allows redirecting stdout of 'make check' to /dev/null. | |||||
* | Add tests for enumerator_t | Tobias Brunner | 2013-06-11 | 4 | -1/+196 | |
| | ||||||
* | Add test runner for unit tests in libstrongswan | Tobias Brunner | 2013-06-11 | 5 | -0/+83 | |
| | ||||||
* | Added missing string for full-length HMAC-SHA512 signer | Tobias Brunner | 2013-06-10 | 1 | -0/+1 | |
| | ||||||
* | attr: Fix handling of invalid IPs listed after valid ones | Tobias Brunner | 2013-06-05 | 1 | -1/+1 | |
| | | | | | Invalid IPs listed after a valid one resulted in an attribute of the same type but with invalid data. | |||||
* | attr: fix a compiler warning that family is used uninitialized (seen with -Os) | Martin Willi | 2013-06-05 | 1 | -2/+13 | |
| | ||||||
* | Strictly memwipe_check() for magic only in the affected buffer | Martin Willi | 2013-06-05 | 1 | -25/+8 | |
| | | | | | | | Passing back the buffer address we memwipe() is not ideal, as it could, in theory, change the behavior of the compiler and not-optimize memwipe(). But as checking a larger stack is very difficult for different architectures and compilers, we do it nonetheless for now. | |||||
* | Allow memwipe() to be called with NULL argument | Tobias Brunner | 2013-05-27 | 1 | -0/+4 | |
| | ||||||
* | kernel-netlink: add outer addresses to policy when using BEET mode | Michael Rossberg | 2013-05-24 | 1 | -1/+1 | |
| | ||||||
* | openssl: add support for IP addr blocks in X.509 certificates | Michael Rossberg | 2013-05-24 | 1 | -1/+115 | |
| | ||||||
* | Make plugins in standalone libimcv configurable | Andreas Steffen | 2013-05-24 | 1 | -1/+2 | |
| | ||||||
* | host-resolver: don't try to resolve a plain v4 address to an IPv6 address | Volker Rümelin | 2013-05-16 | 1 | -3/+17 | |
| | | | | | Suppress 'Address family for hostname not supported' errors if a IPv6 client connects in a mixed IPv4/IPv6 environment. | |||||
* | traffic-selector: inet_pton is successful only if it returns 1 | Martin Willi | 2013-05-16 | 1 | -23/+17 | |
| | ||||||
* | updown: pass IKE_SA unique ID in PLUTO_UNIQUEID | Emanuil Hristov | 2013-05-16 | 2 | -1/+5 | |
| | ||||||
* | capabilities: leak-detective using dlsym() does not need CAP_SYS_NICE anymore | Martin Willi | 2013-05-15 | 1 | -6/+0 | |
| | ||||||
* | capabilities: initialize supplementary groups only when doing a setuid() | Martin Willi | 2013-05-15 | 1 | -1/+1 | |
| | ||||||
* | af-alg: fix number of signers after adding untruncated HMAC-SHA-512 (1f2a34d6) | Martin Willi | 2013-05-15 | 1 | -1/+1 | |
| | ||||||
* | Raise LOCAL_AUTH_FAILED alert after receiving AUTHENTICATION_FAILURE | Martin Willi | 2013-05-15 | 2 | -1/+2 | |
| | ||||||
* | openssl: Only warn about unavailable FIPS mode if the user requested it | Tobias Brunner | 2013-05-08 | 1 | -1/+1 | |
| | ||||||
* | stroke: Add second password if provided | Tobias Brunner | 2013-05-08 | 1 | -0/+13 | |
| | ||||||
* | stroke: Fail silently if another builder calls PW callback after giving up | Tobias Brunner | 2013-05-08 | 1 | -9/+14 | |
| | | | | Also reduced the number of tries to 3. | |||||
* | stroke: Cache passwords so the user is not prompted multiple times for the ↵ | Tobias Brunner | 2013-05-08 | 1 | -1/+13 | |
| | | | | | | | | | | same password To verify/decrypt a PKCS#12 container a password might be needed multiple times. If it was entered correctly we don't want to bother the user again with another password prompt. The passwords for MAC creation and encryption could be different so the user might be prompted multiple times after all. | |||||
* | stroke: Fix prompt and error messages in passphrase callback | Tobias Brunner | 2013-05-08 | 1 | -11/+13 | |
| |