Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | travis: Disable soup in "all" test | Martin Willi | 2014-09-24 | 1 | -1/+1 |
| | | | | | | | | | | | | On Ubuntu 12.04, there seems to be a resource leak related to pthread keys when initializing glib or related libraries more than once. With our repeated initialization for libstrongswan tests, we hit the following error: Lib (gthread-posix.c): Unexpected error from C library during 'pthread_key_create': Resource temporarily unavailable. The problem is not reproducible on a newer Gnome stack, hence we disable the glib based soup plugin until we have a more recent Ubuntu on Travis. | ||||
* | travis: Disable build of native systemd IKE daemon | Martin Willi | 2014-09-22 | 1 | -0/+1 |
| | | | | | Travis still uses Ubuntu 12.04, where no systemd libraries are available. Skip systemd support on Travis until we have a more recent Ubuntu distribution. | ||||
* | autoconf: Replace --disable-tools option with --disable-scepclient | Tobias Brunner | 2014-06-30 | 1 | -2/+2 |
| | | | | | Since using a separate option for pki this was the only tool that was still enabled by that option. | ||||
* | travis: Add a Windows 32-bit variant build test | Martin Willi | 2014-06-06 | 1 | -5/+15 |
| | |||||
* | travis: Build "all" tests without Windows HTTP fetcher | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | | | | | We don't include it in the Windows build test either, as MinGW does not come with -lwinhttp. | ||||
* | travis: Build "all" tests without Windows kernel backends | Martin Willi | 2014-06-04 | 1 | -1/+2 |
| | |||||
* | travis: Include socket backend in Windows build test | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | travis: Build "all" tests without Windows socket backend | Martin Willi | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | travis: Define a Windows build test using MinGW | Martin Willi | 2014-06-04 | 1 | -2/+18 |
| | |||||
* | travis: Perform build tests with -Werror | Martin Willi | 2014-06-04 | 1 | -1/+3 |
| | |||||
* | travis: Build "all" test without Windows specific charon-svc or dbghelp | Martin Willi | 2014-06-04 | 1 | -1/+2 |
| | |||||
* | travis: Install libjson dependency for "all" tests | Martin Willi | 2014-06-03 | 1 | -1/+1 |
| | |||||
* | scripts: Ignore settings-test script | Tobias Brunner | 2014-05-20 | 1 | -7/+8 |
| | |||||
* | enum: Return boolean result for enum_from_name() lookup | Martin Willi | 2014-05-16 | 1 | -2/+1 |
| | | | | | | | | | | | Handling the result for enum_from_name() is difficult, as checking for negative return values requires a cast if the enum type is unsigned. The new signature clearly differentiates lookup result from lookup value. Further, this actually allows to convert real -1 enum values, which could not be distinguished from "not-found" and the -1 return value. This also fixes several clang warnings where enums are unsigned. | ||||
* | scripts: Add test script for settings_t | Tobias Brunner | 2014-05-15 | 2 | -1/+128 |
| | |||||
* | travis: --disable-aikgen in "all" tests | Martin Willi | 2014-05-07 | 1 | -1/+1 |
| | | | | | aikgen has a hard dependency on TrouSerS, which we currently don't have in the travis build. | ||||
* | tls: Support a maximum TLS version to negotiate using TLS socket abstraction | Martin Willi | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | tls: Introduce a generic TLS purpose that accepts NULL encryption ciphers | Martin Willi | 2014-04-01 | 1 | -2/+2 |
| | |||||
* | aead: Support custom AEAD salt sizes | Martin Willi | 2014-03-31 | 2 | -2/+2 |
| | | | | | | | | | The salt, or often called implicit nonce, varies between AEAD algorithms and their use in protocols. For IKE and ESP, GCM uses 4 bytes, while CCM uses 3 bytes. With TLS, however, AEAD mode uses 4 bytes for both GCM and CCM. Our GCM backends currently support 4 bytes and CCM 3 bytes only. This is fine until we go for CCM mode support in TLS, which requires 4 byte nonces. | ||||
* | travis: Run the "all" test case with leak detective enabled | Tobias Brunner | 2014-03-27 | 1 | -0/+6 |
| | | | | | | | | But disable the gcrypt plugin, as it causes leaks. Also disable the backtraces by libunwind as they seem to cause threads to get cleaned up after the leak detective already has been disabled, which leads to invalid free()s. | ||||
* | travis: Use parallel build | Tobias Brunner | 2014-03-20 | 1 | -1/+1 |
| | | | | | | | Not sure if 4 jobs is optimal, but according to the docs each build host has 1.5 virtual cores available (although "getconf _NPROCESSORS_ONLN" returns 32, which is probably the number of real cores underneath), so more jobs might not actually reduce the build time much more. | ||||
* | travis: Add tests for builtin printf hook implementation | Tobias Brunner | 2014-03-20 | 1 | -2/+5 |
| | | | | | We can't test Vstr as it does not properly handle negative int arguments for custom format callbacks, so some of the enum tests would fail. | ||||
* | travis: Install dependencies for each test dynamically | Tobias Brunner | 2014-03-20 | 1 | -0/+13 |
| | | | | | Since the installation of all packages alone takes several minutes this should speed up some test cases. | ||||
* | Add Travis CI config and build script | Tobias Brunner | 2014-03-20 | 1 | -0/+49 |
| | |||||
* | lib: Add global config namespace | Tobias Brunner | 2014-02-12 | 11 | -11/+11 |
| | |||||
* | aes-test: Fix compiler warnings from older versions of GCC | Tobias Brunner | 2013-12-19 | 1 | -1/+1 |
| | |||||
* | pubkey_speed: Add missing plugins | Tobias Brunner | 2013-09-04 | 1 | -4/+4 |
| | | | | | | | The pkcs1 plugin is required to test the gmp/gcrypt plugins. Likewise, the pem plugin is required when testing the openssl plugin. Fixes #401. | ||||
* | pubkey_speed: sudo is not required | Tobias Brunner | 2013-09-04 | 1 | -4/+6 |
| | | | | | Also, refer to pubkey_speed properly when not being called from the same directory. | ||||
* | pubkey_speed: Add header and fix usage | Tobias Brunner | 2013-09-04 | 1 | -2/+15 |
| | |||||
* | aes-test: Rename crypt() as it conflicts with a library function on Mac OS X | Tobias Brunner | 2013-08-30 | 1 | -3/+3 |
| | | | | unistd.h on Linux defines this only if _XOPEN_SOURCE is defined. | ||||
* | Added scripts/aes-test to .gitignore | Andreas Steffen | 2013-08-28 | 1 | -0/+1 |
| | |||||
* | aes-test: Support test vectors at the end of a file | Tobias Brunner | 2013-08-24 | 1 | -0/+4 |
| | |||||
* | aes-test: Add script to test AES implementations according to AESAVS/GCMVS | Tobias Brunner | 2013-08-24 | 2 | -1/+655 |
| | |||||
* | scripts: link against librt only if required | Martin Willi | 2013-08-08 | 1 | -3/+3 |
| | | | | With glibc, this seems to be the case for 2.17 and older versions only. | ||||
* | scripts: link malloc_speed against librt | Martin Willi | 2013-08-08 | 1 | -1/+1 |
| | |||||
* | automake: replace INCLUDES by AM_CPPFLAGS | Martin Willi | 2013-07-18 | 1 | -3/+4 |
| | | | | | | INCLUDES are now deprecated and throw warnings when using automake 1.13. We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and defines are passed to AM_CPPFLAGS only. | ||||
* | plugin-loader: Removed unused path argument of load() method | Tobias Brunner | 2013-06-28 | 9 | -9/+9 |
| | | | | | Multiple additional search paths can be added with the add_path() method. | ||||
* | scripts: add a simple test utility to do some malloc() benchmarking/profiling | Martin Willi | 2013-05-06 | 3 | -1/+89 |
| | |||||
* | fixed another printf statement | Andreas Steffen | 2013-04-09 | 1 | -3/+1 |
| | |||||
* | fixed printf statements | Andreas Steffen | 2013-04-08 | 1 | -9/+28 |
| | |||||
* | Accept a certificate/key pair to use client authentication in tls_test | Martin Willi | 2013-04-02 | 1 | -7/+52 |
| | |||||
* | crypt_burn: Proper cleanup | Tobias Brunner | 2013-03-25 | 1 | -0/+2 |
| | |||||
* | crypt_burn: Fix loop condition for regular crypters | Tobias Brunner | 2013-03-25 | 1 | -1/+1 |
| | |||||
* | Implemented the resolver test script "dnssec" | Reto Guadagnini | 2013-02-19 | 3 | -1/+130 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 6 | -6/+6 |
| | |||||
* | Moved host_t and host_resolver_t to a new networking subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Added possibility to register custom proposal keywords | Tobias Brunner | 2012-09-13 | 1 | -2/+1 |
| | | | | Keyword lookup and registration are handled via the new lib->proposal object. | ||||
* | Removed len argument from proposal_get_token() | Tobias Brunner | 2012-09-13 | 1 | -1/+1 |
| | | | | Also use enumerators instead of lexparser.h to parse proposal strings. | ||||
* | Add a tool to burn hashers | Martin Willi | 2012-07-17 | 3 | -1/+78 |
| | |||||
* | Add a return value to crypter_t.decrypt() | Martin Willi | 2012-07-16 | 1 | -3/+6 |
| |