Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | unit-tests: link test-runner against -lpthread | Martin Willi | 2013-06-21 | 1 | -0/+1 | |
| | ||||||
* | unit-tests: add RSA test cases, very similar to ECDSA | Martin Willi | 2013-06-21 | 4 | -1/+400 | |
| | ||||||
* | unit-tests: test with /dev/urandom if random plugin is in use | Martin Willi | 2013-06-21 | 1 | -0/+6 | |
| | ||||||
* | unit-tests: test supported ECDSA schemes only | Martin Willi | 2013-06-21 | 1 | -0/+14 | |
| | ||||||
* | Move test-runners has_feature() function to plugin loader | Martin Willi | 2013-06-21 | 3 | -32/+40 | |
| | ||||||
* | unit-tests: enforce CET/CEST timezone to properly test non-UTC time formatting | Martin Willi | 2013-06-21 | 1 | -0/+6 | |
| | ||||||
* | unit-tests: don't use ck_assert() to test a cleared chunk, as it allocates data | Martin Willi | 2013-06-21 | 1 | -3/+10 | |
| | | | | The new allocation might be in the freed area, affecting the test result. | |||||
* | unit-tests: define 64-bit constats with ULL, fixing compiler warning on 32-bit | Martin Willi | 2013-06-21 | 1 | -2/+2 | |
| | ||||||
* | unit-tests: test some zeroed ECDSA signatures that never should succeed | Martin Willi | 2013-06-21 | 1 | -0/+63 | |
| | ||||||
* | unit-tests: perform signing/validation with keys ECDSA keys generated or loaded | Martin Willi | 2013-06-21 | 1 | -0/+47 | |
| | ||||||
* | unit-tests: add an ECDSA test case loading keys | Martin Willi | 2013-06-21 | 1 | -0/+61 | |
| | ||||||
* | unit-tests: perform a first ECDSA test case if ECDSA is supported | Martin Willi | 2013-06-21 | 4 | -1/+58 | |
| | ||||||
* | unit-tests: add a helper function checking if a plugin feature is available | Martin Willi | 2013-06-21 | 1 | -0/+32 | |
| | ||||||
* | unit-tests: add a test case checking if all test vectors have been passed | Martin Willi | 2013-06-21 | 4 | -1/+44 | |
| | ||||||
* | crypto-factory: count the number of test vector failures during registration | Martin Willi | 2013-06-21 | 2 | -30/+73 | |
| | ||||||
* | unit-tests: load all libstrongswan plugins in test-runner | Martin Willi | 2013-06-21 | 2 | -0/+7 | |
| | ||||||
* | pubkey: Improve comparison of raw public key certificate objects | Tobias Brunner | 2013-06-21 | 1 | -1/+11 | |
| | ||||||
* | backtrace: use backtrace_symbols() only if we have backtrace() and dladdr() ↵ | Martin Willi | 2013-06-19 | 1 | -5/+16 | |
| | | | | fails | |||||
* | utils: Remove volatile qualifier from refcount_t typedef | Tobias Brunner | 2013-06-19 | 1 | -2/+1 | |
| | | | | | It's not really required anymore (if it ever was) and may cause compiler warnings when using the non atomic versions of ref_get/ref_put. | |||||
* | utils: ref_get() returns the new value of the reference counter | Martin Willi | 2013-06-11 | 2 | -4/+9 | |
| | | | | This allows us to use ref_get() for getting unique values. | |||||
* | curl: add an option to fetch bound to a local source address | Martin Willi | 2013-06-11 | 3 | -0/+23 | |
| | ||||||
* | fetcher: add missing "continue" when handling FETCH_CALLBACK | Martin Willi | 2013-06-11 | 1 | -1/+1 | |
| | ||||||
* | leak-detective: Resolve hooked functions during initialization | Tobias Brunner | 2013-06-11 | 1 | -1/+4 | |
| | | | | | | | | | If uses of dlopen(), e.g. when loading plugins, produce errors an error string could get allocated dynamically. At this point realloc() might not yet be resolved and when dlsym() is later called by leak detective to do so the error string might get freed while leak detective is disabled and real_free() will be called with a pointer into one of leak detective's memory blocks instead of a pointer to the block itself, causing a SIGSEGV. | |||||
* | Refactored plugin-loader with improved dependency resolution | Tobias Brunner | 2013-06-11 | 2 | -238/+479 | |
| | | | | | | With the new implementation the plugins don't have to be listed in any special order, dependencies are properly resolved. The order only matters if two plugins provide the same feature. | |||||
* | test-vectors: Use plugin features | Tobias Brunner | 2013-06-11 | 1 | -1/+12 | |
| | ||||||
* | revocation: Use plugin features with soft dependencies on fetcher and ↵ | Tobias Brunner | 2013-06-11 | 1 | -3/+35 | |
| | | | | en-/decoding | |||||
* | padlock: Use plugin features to properly register algorithms | Tobias Brunner | 2013-06-11 | 1 | -39/+43 | |
| | ||||||
* | pkcs11: Use plugin_features_add() in get_features() | Tobias Brunner | 2013-06-11 | 1 | -21/+8 | |
| | ||||||
* | plugin-feature: Added helper function to extend arrays of plugin features | Tobias Brunner | 2013-06-11 | 1 | -0/+21 | |
| | ||||||
* | constraints: Use plugin features with soft dependency on X.509 decoding | Tobias Brunner | 2013-06-11 | 1 | -3/+31 | |
| | ||||||
* | blowfish: Use plugin features to properly register crypter | Tobias Brunner | 2013-06-11 | 1 | -8/+13 | |
| | ||||||
* | unbound: Use plugin features and provide RESOLVER | Tobias Brunner | 2013-06-11 | 1 | -3/+12 | |
| | ||||||
* | plugin-feature: Add feature for DNSSEC-enabled resolvers | Tobias Brunner | 2013-06-11 | 2 | -0/+15 | |
| | ||||||
* | plugin-feature: Function added to exactly compare plugin features | Tobias Brunner | 2013-06-11 | 3 | -4/+66 | |
| | ||||||
* | Suppress log messages during tests | Tobias Brunner | 2013-06-11 | 1 | -0/+2 | |
| | ||||||
* | Remove explicit leak detective checks as these are now done for all tests | Tobias Brunner | 2013-06-11 | 2 | -16/+0 | |
| | ||||||
* | Enable leak detective for all test cases | Tobias Brunner | 2013-06-11 | 14 | -22/+129 | |
| | ||||||
* | Added tests for bio_writer_t | Tobias Brunner | 2013-06-11 | 4 | -1/+397 | |
| | ||||||
* | Ensure buffer in bio_writer_t is properly increased | Tobias Brunner | 2013-06-11 | 1 | -49/+29 | |
| | | | | | | | The previous code was problematic if bufsize/increase was smaller than 8 and an u_int64_t was written when the buffer was too small. Also, for large chunks and small bufsizes realloc() was called several times instead of just once. | |||||
* | Added tests for bio_reader_t | Tobias Brunner | 2013-06-11 | 4 | -3/+464 | |
| | ||||||
* | Add getter for the number of leaks to leak_detective_t | Tobias Brunner | 2013-06-11 | 2 | -2/+23 | |
| | ||||||
* | Added tests for utils/enum.c | Tobias Brunner | 2013-06-11 | 4 | -1/+251 | |
| | ||||||
* | Gracefully handle NULL as argument for enum_from_name() | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | ||||||
* | Additional tests for identification_t added | Tobias Brunner | 2013-06-11 | 1 | -14/+518 | |
| | ||||||
* | Fail DN parsing if OID is unterminated | Tobias Brunner | 2013-06-11 | 1 | -2/+6 | |
| | | | | | This is the case if the last OID is not followed by a = or if the string starts with a =. | |||||
* | Fix DN printing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -11/+32 | |
| | ||||||
* | Fix DN parsing if last RDN has an empty value | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | ||||||
* | Fix output of ASN.1 GN | Tobias Brunner | 2013-06-11 | 1 | -1/+1 | |
| | ||||||
* | Use chunk_from_str in identification_from_string | Tobias Brunner | 2013-06-11 | 1 | -17/+5 | |
| | | | | | We always have a non-empty string in those cases as "" is now handled as ID_ANY. | |||||
* | Use local variable in chunk_from_str() | Tobias Brunner | 2013-06-11 | 1 | -2/+2 | |
| | | | | | This allows using strdup() or other string functions as argument without calling them twice. |