Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved utils.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -570/+0 |
| | |||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved enum_name_t to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+0 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Pass opaque data to printf hooks and print_in_hook() | Martin Willi | 2012-07-13 | 1 | -8/+8 |
| | |||||
* | Defined a macro to replace strerror(3) with calls to thread-safe wrapper | Tobias Brunner | 2012-06-28 | 1 | -0/+2 |
| | |||||
* | Thread-safe wrapper around strerror(3)/strerror_r(3) added | Tobias Brunner | 2012-06-28 | 1 | -2/+79 |
| | |||||
* | Don't cast second argument of mem_printf_hook (%b) to size_t. | Tobias Brunner | 2012-03-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | Also treat the given number as unsigned int. Due to the printf hook registration the second argument of mem_printf_hook (if called via printf etc.) is always of type int*. Casting this to a size_t pointer and then dereferencing that as int does not work on big endian machines if int is smaller than size_t (e.g. on ppc64). In order to make this change work if the argument is of a type larger than int, size_t for instance, the second argument for %b has to be casted to (u_)int. | ||||
* | Added atomic compare and swap operations. | Tobias Brunner | 2011-12-23 | 1 | -0/+22 |
| | | | | Using a GCC atomic builtin if available or a global mutex otherwise. | ||||
* | Unused variable removed. | Tobias Brunner | 2011-10-13 | 1 | -1/+1 |
| | |||||
* | Make sure /proc/$$/fd exists. | Tobias Brunner | 2011-10-13 | 1 | -1/+1 |
| | | | | This avoids the error message generated by enumerator_create_directory(). | ||||
* | Only close open file descriptors on Linux. | Tobias Brunner | 2011-10-13 | 1 | -1/+26 |
| | |||||
* | Added a replacement for closefrom (available on *BSD). | Tobias Brunner | 2011-10-13 | 1 | -1/+20 |
| | |||||
* | Properly print time differences. | Tobias Brunner | 2011-06-07 | 1 | -2/+4 |
| | | | | time_t is not necessarily of type int. | ||||
* | Added a memwipe() function to safely overwrite sensitive memory | Martin Willi | 2011-05-09 | 1 | -0/+8 |
| | |||||
* | Use a boolean expression for refcount check, fixes refcounting if bool is a ↵ | Martin Willi | 2011-03-09 | 1 | -1/+1 |
| | | | | signed char | ||||
* | Migrated psk/pubkey_authenticators to INIT/METHOD macros | Martin Willi | 2011-01-05 | 1 | -0/+8 |
| | |||||
* | Fixed status_t enum names definition | Martin Willi | 2010-10-04 | 1 | -1/+1 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -2/+2 |
| | |||||
* | Adding the OpenSSL plugin to the Android build. | Tobias Brunner | 2010-03-08 | 1 | -1/+1 |
| | |||||
* | Adding a helper function that translates single characters in a string. | Tobias Brunner | 2010-03-08 | 1 | -0/+22 |
| | |||||
* | The return value of snprintf is int not size_t. | Tobias Brunner | 2010-03-03 | 1 | -1/+1 |
| | |||||
* | Fixing some includes by replacing <> with "". | Tobias Brunner | 2010-03-02 | 1 | -2/+2 |
| | | | | I changed only the includes needed to fix the build on Android, which has an utils.h system header file, but we should probably change all the local includes in libstrongswan to "" and relative paths. | ||||
* | Use pthread_cond_timedwait_monotonic on Android. | Tobias Brunner | 2009-12-23 | 1 | -2/+4 |
| | |||||
* | Fix word alignement in memxor() on 64-bit architectures | Martin Willi | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | replaces four spaces by tabs, where appropriate | Martin Willi | 2009-09-04 | 1 | -1/+1 |
| | |||||
* | removed trailing spaces ([[:space:]]+$) | Martin Willi | 2009-09-04 | 1 | -15/+15 |
| | |||||
* | use monotonic time source in convar->timed_wait, and in the scheduler using it | Martin Willi | 2009-08-31 | 1 | -3/+6 |
| | |||||
* | implemented a monotonic timestamping function, unaffected from system time ↵ | Martin Willi | 2009-08-31 | 1 | -0/+33 |
| | | | | changes | ||||
* | cast pointers to uintptr_t for alignement check | Martin Willi | 2009-07-15 | 1 | -2/+3 |
| | |||||
* | memxor does not access unaligned words anymore, but still uses words if possible | Martin Willi | 2009-07-08 | 1 | -9/+32 |
| | |||||
* | removing svn keyword $Id$ from all files | Tobias Brunner | 2009-04-30 | 1 | -2/+0 |
| | |||||
* | merging changes from portability branch back to trunk | Tobias Brunner | 2009-04-30 | 1 | -0/+1 |
| | | | | | important change for developers: %Y replaces %D to print identities! | ||||
* | added return_true/false() dummy functions | Martin Willi | 2009-04-24 | 1 | -0/+16 |
| | |||||
* | printf hooks refactored to increase portability (i.e. support for platforms ↵ | Tobias Brunner | 2009-03-12 | 1 | -127/+23 |
| | | | | without glibc-compatible customizable printf - the Vstr string library is currently required on such platforms). | ||||
* | added memstr and extract_token_str helper functions | Tobias Brunner | 2008-12-03 | 1 | -0/+17 |
| | |||||
* | ref_get()/ref_put() use atomic gcc operations if supported, thanks to Thomas ↵ | Martin Willi | 2008-12-02 | 1 | -13/+7 |
| | | | | Jarosch for the patch | ||||
* | added time.h include for struct tm | Martin Willi | 2008-12-02 | 1 | -0/+1 |
| | |||||
* | memxor() tweaks, as it is heavily used in xcbc | Martin Willi | 2008-11-26 | 1 | -2/+10 |
| | |||||
* | mkdir_p: utility function to create a directory and all required parent ↵ | Tobias Brunner | 2008-08-28 | 1 | -0/+51 |
| | | | | directories | ||||
* | extended credential_set_t interface by a cache_cert() method | Martin Willi | 2008-04-17 | 1 | -0/+7 |
| | | | | allows persistent or in-memory caching of fetched certificates | ||||
* | fixed CRL check return value on revoked certificates | Martin Willi | 2008-03-19 | 1 | -0/+8 |
| | | | | | fixed possible refcounting bugs generic return_null() implementation | ||||
* | merged the modularization branch (credentials) back to trunk | Martin Willi | 2008-03-13 | 1 | -0/+327 |