Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: re-indent code | Daiki Ueno | 2023-04-24 | 1 | -3/+2 |
| | | | | Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | Indent code | Zoltan Fridrich | 2023-01-27 | 1 | -1/+0 |
| | | | | | Co-authored-by: Simon Josefsson <simon@josefsson.org> Signed-off-by: Zoltan Fridrich <zfridric@redhat.com> | ||||
* | locks: define lock functions as a macro | Daiki Ueno | 2022-03-09 | 1 | -54/+0 |
| | | | | | | | | | | | | When threads are not supported, glthread_* functions are defined as no-op and thus dereferencing lock variables in inline functions will cause compilation error. This change fixes it by redefining our lock functions as a macro so it will also be compiled out. Reported by Fabrice Fontaine in: https://gitlab.com/gnutls/gnutls/-/issues/1330 Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | locks: deprecate gnutls_global_set_mutex | Daiki Ueno | 2021-11-17 | 1 | -15/+6 |
| | | | | | | | As the library now uses static mutexes, rwlocks, and onces, it doesn't make much sense to only replace dynamic mutex usage. Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | locks: use once execution for on-demand initialization of globals | Daiki Ueno | 2021-11-17 | 1 | -0/+9 |
| | | | | | | | | | | This makes sure that the global variables are initialized only once. Most of those variables are initialized at ELF constructor, though a couple of occasions they are initialized on-demand: the global keylog file pointer and TPM2 TCTI context. To properly protect the initialization this patch uses gl_once provided by Gnulib. Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | locks: rework rwlock primitives | Daiki Ueno | 2021-11-17 | 1 | -0/+27 |
| | | | | | | | Remove GNUTLS_STATIC_RWLOCK_*LOCK macros and respect return values of rwlock primitives. Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | locks: replace custom mutex wrappers with "glthread/lock.h" | Daiki Ueno | 2021-11-17 | 1 | -0/+18 |
| | | | | | | | As Gnulib provides portability wrappers of mutex implementations, we don't need to provide similar wrappers by ourselves. Signed-off-by: Daiki Ueno <ueno@gnu.org> | ||||
* | Use https:// for www.gnu.org and www.example.com | Tim Rühsen | 2019-03-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | doc: clarifications on custom thread override [ci skip] | Nikos Mavrogiannopoulos | 2017-04-20 | 1 | -0/+4 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Fix some typos [ci skip] | Andreas Metzler | 2015-12-27 | 1 | -1/+1 |
| | |||||
* | Removed the 'gnutls_' prefix from files to simplify file naming | Nikos Mavrogiannopoulos | 2015-08-23 | 1 | -3/+3 |
| | |||||
* | re-enabled gnutls_global_set_mutex(). | Nikos Mavrogiannopoulos | 2014-05-07 | 1 | -4/+13 |
| | |||||
* | reindented code | Nikos Mavrogiannopoulos | 2013-11-08 | 1 | -8/+9 |
| | |||||
* | Use LGPLv2.1 in the files their author's agreed to. | Nikos Mavrogiannopoulos | 2013-02-01 | 1 | -1/+1 |
| | |||||
* | Run 'make update-copyright'. | Simon Josefsson | 2012-01-16 | 1 | -1/+1 |
| | |||||
* | Clarify license and copyright. | Simon Josefsson | 2011-08-03 | 1 | -1/+1 |
| | |||||
* | More GTK-DOC improvements. | Simon Josefsson | 2011-08-03 | 1 | -1/+2 |
| | |||||
* | Upgraded to LGPLv3. | Nikos Mavrogiannopoulos | 2011-06-23 | 1 | -7/+4 |
| | |||||
* | Indented code. Use same indentation but with -nut to avoid usage of tabs. In ↵ | Nikos Mavrogiannopoulos | 2010-12-16 | 1 | -1/+1 |
| | | | | several editors tabs can be configured not to be 8 spaces and this produces artifacts with the current indentation that is a mixture of tabs and spaces. | ||||
* | Indent (using GNU indent 2.2.11). | Simon Josefsson | 2010-10-14 | 1 | -3/+4 |
| | |||||
* | Fix some syntax-check errors. | Simon Josefsson | 2010-10-01 | 1 | -1/+0 |
| | |||||
* | system specific functions were moved to system.c | Nikos Mavrogiannopoulos | 2010-07-10 | 1 | -141/+0 |
| | |||||
* | Locks were converted to be in align with posix locks to easier wrap around them. | Nikos Mavrogiannopoulos | 2010-07-03 | 1 | -18/+21 |
| | |||||
* | The included pakchois will use gnutls locks and will use a portable | Nikos Mavrogiannopoulos | 2010-07-03 | 1 | -0/+16 |
| | | | | dlopen() to allow compilation in win32 (untested). | ||||
* | Do not allow setting NULL lock functions | Nikos Mavrogiannopoulos | 2010-07-02 | 1 | -0/+3 |
| | |||||
* | simplified locking code. Locking functions always exist but are dummies if no | Nikos Mavrogiannopoulos | 2010-06-29 | 1 | -14/+27 |
| | | | | locks have been set. | ||||
* | Initialization of crypto libraries moved outside main gnutls code. | Nikos Mavrogiannopoulos | 2010-06-29 | 1 | -41/+0 |
| | |||||
* | Moved locking code to special file. | Nikos Mavrogiannopoulos | 2010-06-29 | 1 | -0/+209 |