aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* travis: Disable soup in "all" testMartin Willi2014-09-241-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 daemonMartin Willi2014-09-221-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-scepclientTobias Brunner2014-06-301-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 testMartin Willi2014-06-061-5/+15
|
* travis: Build "all" tests without Windows HTTP fetcherMartin Willi2014-06-041-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 backendsMartin Willi2014-06-041-1/+2
|
* travis: Include socket backend in Windows build testMartin Willi2014-06-041-1/+1
|
* travis: Build "all" tests without Windows socket backendMartin Willi2014-06-041-1/+1
|
* travis: Define a Windows build test using MinGWMartin Willi2014-06-041-2/+18
|
* travis: Perform build tests with -WerrorMartin Willi2014-06-041-1/+3
|
* travis: Build "all" test without Windows specific charon-svc or dbghelpMartin Willi2014-06-041-1/+2
|
* travis: Install libjson dependency for "all" testsMartin Willi2014-06-031-1/+1
|
* scripts: Ignore settings-test scriptTobias Brunner2014-05-201-7/+8
|
* enum: Return boolean result for enum_from_name() lookupMartin Willi2014-05-161-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_tTobias Brunner2014-05-152-1/+128
|
* travis: --disable-aikgen in "all" testsMartin Willi2014-05-071-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 abstractionMartin Willi2014-04-011-2/+2
|
* tls: Introduce a generic TLS purpose that accepts NULL encryption ciphersMartin Willi2014-04-011-2/+2
|
* aead: Support custom AEAD salt sizesMartin Willi2014-03-312-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 enabledTobias Brunner2014-03-271-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 buildTobias Brunner2014-03-201-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 implementationTobias Brunner2014-03-201-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 dynamicallyTobias Brunner2014-03-201-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 scriptTobias Brunner2014-03-201-0/+49
|
* lib: Add global config namespaceTobias Brunner2014-02-1211-11/+11
|
* aes-test: Fix compiler warnings from older versions of GCCTobias Brunner2013-12-191-1/+1
|
* pubkey_speed: Add missing pluginsTobias Brunner2013-09-041-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 requiredTobias Brunner2013-09-041-4/+6
| | | | | Also, refer to pubkey_speed properly when not being called from the same directory.
* pubkey_speed: Add header and fix usageTobias Brunner2013-09-041-2/+15
|
* aes-test: Rename crypt() as it conflicts with a library function on Mac OS XTobias Brunner2013-08-301-3/+3
| | | | unistd.h on Linux defines this only if _XOPEN_SOURCE is defined.
* Added scripts/aes-test to .gitignoreAndreas Steffen2013-08-281-0/+1
|
* aes-test: Support test vectors at the end of a fileTobias Brunner2013-08-241-0/+4
|
* aes-test: Add script to test AES implementations according to AESAVS/GCMVSTobias Brunner2013-08-242-1/+655
|
* scripts: link against librt only if requiredMartin Willi2013-08-081-3/+3
| | | | With glibc, this seems to be the case for 2.17 and older versions only.
* scripts: link malloc_speed against librtMartin Willi2013-08-081-1/+1
|
* automake: replace INCLUDES by AM_CPPFLAGSMartin Willi2013-07-181-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() methodTobias Brunner2013-06-289-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/profilingMartin Willi2013-05-063-1/+89
|
* fixed another printf statementAndreas Steffen2013-04-091-3/+1
|
* fixed printf statementsAndreas Steffen2013-04-081-9/+28
|
* Accept a certificate/key pair to use client authentication in tls_testMartin Willi2013-04-021-7/+52
|
* crypt_burn: Proper cleanupTobias Brunner2013-03-251-0/+2
|
* crypt_burn: Fix loop condition for regular cryptersTobias Brunner2013-03-251-1/+1
|
* Implemented the resolver test script "dnssec"Reto Guadagnini2013-02-193-1/+130
|
* Moved debug.[ch] to utils folderTobias Brunner2012-10-246-6/+6
|
* Moved host_t and host_resolver_t to a new networking subfolderTobias Brunner2012-10-241-1/+1
|
* Added possibility to register custom proposal keywordsTobias Brunner2012-09-131-2/+1
| | | | Keyword lookup and registration are handled via the new lib->proposal object.
* Removed len argument from proposal_get_token()Tobias Brunner2012-09-131-1/+1
| | | | Also use enumerators instead of lexparser.h to parse proposal strings.
* Add a tool to burn hashersMartin Willi2012-07-173-1/+78
|
* Add a return value to crypter_t.decrypt()Martin Willi2012-07-161-3/+6
|