aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a return value to prf_t.get_bytes()Martin Willi2012-07-1610-31/+90
|
* prf_plus_create() can return NULL on failureMartin Willi2012-07-161-1/+1
|
* Add a return value to prf_plus_t.get_bytes()Martin Willi2012-07-162-7/+7
|
* Add a return value to prf_plus_t.allocate_bytes()Martin Willi2012-07-162-2/+5
|
* Add a return value to signer_t.set_key()Martin Willi2012-07-165-7/+19
|
* Add a return value to signer_t.get_signature()Martin Willi2012-07-165-21/+45
|
* Add a return value to signer_t.allocate_signature()Martin Willi2012-07-165-6/+20
|
* Add a return value to aead_t.set_key()Martin Willi2012-07-165-6/+18
|
* Add a return value to aead_t.encrypt()Martin Willi2012-07-165-12/+27
|
* Compilation error fixed if dladdr is not availableTobias Brunner2012-07-141-0/+6
|
* Silence cast warning on 32-bit platformsMartin Willi2012-07-131-1/+1
|
* Don't set BFD_DECOMPRESS when building against older binutilsMartin Willi2012-07-131-0/+2
|
* Append directly to base string in vstr printf hooksMartin Willi2012-07-132-20/+10
|
* Write directly to FILE stream in glibc printf hooksMartin Willi2012-07-132-35/+49
|
* Pass opaque data to printf hooks and print_in_hook()Martin Willi2012-07-1314-59/+83
|
* Increase leak detective backtrace depth by a frameMartin Willi2012-07-131-4/+4
|
* Don't access tail magic when reallocating invalid memory, as it would crashMartin Willi2012-07-131-5/+7
|
* With --enable-bfd-backtraces, use binutils libbfd to resolve backtracesMartin Willi2012-07-134-29/+287
| | | | | | | | The invocation of addr2line to resolve backtrace source locations is slow and cumbersome. When using libbfd directly, we can eliminate the overhead of the process invocation. Even better, we can cache library symbol names, bringing wicked fast lookups. As a neat bonus, we can resolve static function names.
* Add an external method to disable leak detective temporarlyMartin Willi2012-07-132-0/+38
|
* Added PLUGIN_NOOP to separate PLUGIN_PROVIDE from previous CALLBACK/REGISTER ↵Tobias Brunner2012-07-122-9/+19
| | | | entries
* Android.mk of libstrongswan adapted to config.h changesTobias Brunner2012-07-121-78/+24
|
* Properly cleanup thread-local values for the threads destroying ↵Tobias Brunner2012-07-121-2/+19
| | | | thread_value_t objects
* fixed libstrongswan/Makefile.amAndreas Steffen2012-07-111-11/+11
|
* Install dev headers only if --with-dev-headers= option is setMartin Willi2012-07-111-1/+3
|
* Check if config.h passed correctly via gcc -includeMartin Willi2012-07-111-0/+4
|
* Install libstrongswan development headersMartin Willi2012-07-112-81/+56
|
* Use and install a config.h AC_CONFIG_HEADER that contains all AC_DEFINE resultsMartin Willi2012-07-111-0/+3
|
* Add safe_strerror() to leak detective whitelistMartin Willi2012-07-111-0/+1
| | | | | | While the thread specific strerror buffer gets cleaned up for worker threads during their termination, the main thread itself, and so its strerror buffer, is still alive during leak reports.
* Add an option to disable libstrongswan certificate cachingMartin Willi2012-07-091-18/+29
|
* getpwnam_r and getgrnam_r are not supported by the Android NDKTobias Brunner2012-07-091-24/+69
|
* Android.mk of libstrongswan updatedTobias Brunner2012-07-091-0/+2
|
* Refactored heavily #ifdefd capability code to its own libstrongswan classMartin Willi2012-07-043-0/+358
|
* Added wrapper for POSIX spin locksTobias Brunner2012-07-043-0/+191
|
* Default to register_printf_specifier() if no printf hooking #definedMartin Willi2012-07-031-0/+7
| | | | | | This allows us to build (non-./configured) external tools against libstrongswan without explicitly specifiying the most commonly used printf hooking function.
* openssl: Ensure the thread ID is never zeroTobias Brunner2012-07-031-1/+3
| | | | | | This might otherwise cause problems because OpenSSL tries to lock mutexes recursively if it assumes the lock is held by a different thread e.g. during FIPS initialization.
* Accept non-"/0" subnet sizes for traffic selectors starting at 0.0.0.0Martin Willi2012-07-021-40/+9
|
* Added GPL header to AndroidConfigLocal.hTobias Brunner2012-06-291-0/+15
|
* Removed superfluous remove_hasher() call in md5 pluginTobias Brunner2012-06-291-2/+0
|
* Defined a macro to replace strerror(3) with calls to thread-safe wrapperTobias Brunner2012-06-282-0/+7
|
* Thread-safe wrapper around strerror(3)/strerror_r(3) addedTobias Brunner2012-06-282-4/+92
|
* gcrypt: Register SHA1 first as HASH_PREFERRED depends on itTobias Brunner2012-06-271-1/+1
|
* Added MAC wrappers to Android.mkTobias Brunner2012-06-261-0/+3
|
* Build nonce plugin on AndroidTobias Brunner2012-06-261-0/+3
|
* Added support for the curl plugin on AndroidTobias Brunner2012-06-261-0/+6
|
* Make rescheduling a job more predictableTobias Brunner2012-06-252-37/+85
| | | | | | | | | | | | | This avoids race conditions between calls to cancel() and jobs that like to be rescheduled. If jobs were able to reschedule themselves it would theoretically be possible that two worker threads have the same job assigned (the one currently executing the job and the one executing the same but rescheduled job if it already is time to execute it), this means that cancel() could be called twice for that job. Creating a new job based on the current one and reschedule that is also OK, but rescheduling itself is more efficient for jobs that need to be executed often.
* Centralized thread cancellation in processor_tTobias Brunner2012-06-257-223/+127
| | | | | | | | | | This ensures that no threads are active when plugins and the rest of the daemon are unloaded. callback_job_t was simplified a lot in the process as its main functionality is now contained in processor_t. The parent-child relationships were abandoned as these were only needed to simplify job cancellation.
* Give processor_t more control over the lifecycle of a jobTobias Brunner2012-06-256-105/+176
| | | | | | | | | | | Jobs are now destroyed by the processor, but they are allowed to reschedule themselves. That is, parts of the reschedule functionality already provided by callback_job_t is moved to the processor. Not yet fully supported is JOB_REQUEUE_DIRECT and canceling jobs. Note: job_t.destroy() is now called not only for queued jobs but also after execution or cancellation of jobs. job_t.status can be used to decide what to do in said method.
* Added a method to plugin_loader_t to add 'static' plugin featuresTobias Brunner2012-06-252-0/+115
| | | | | | | | This allows daemons and other components to register plugin features like those provided by plugins (following the same lifecycle). The added features are internally handled like they were added by a plugin.
* Make sure that all features of critical plugins are loadedTobias Brunner2012-06-251-5/+64
|
* Use mac_t and PRF and signer wrappers in cmac pluginTobias Brunner2012-06-258-443/+82
|