summaryrefslogtreecommitdiff
path: root/lib/errors.h
Commit message (Collapse)AuthorAgeFilesLines
* build: re-indent codeDaiki Ueno2023-04-241-101/+117
| | | | Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Indent codeZoltan Fridrich2023-01-271-64/+64
| | | | | Co-authored-by: Simon Josefsson <simon@josefsson.org> Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
* _gnutls_cert_log: assume that 'cert' is nonnullDaiki Ueno2020-11-191-1/+1
| | | | | | This makes static analyzers happy. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* _gnutls_asn2err: define as static inlineDaiki Ueno2020-10-181-1/+41
| | | | | | | | | | This pacifies -fanalyzer false-positive: common.c:552:3: warning: use of NULL '<unknown>' where non-null expected [CWE-690] [-Wanalyzer-null-argument] Ideally, the function should be defined as 'extern inline' to avoid code bloat by being copied across multiple translation units. Signed-off-by: Daiki Ueno <ueno@gnu.org>
* Add or clean header guards in lib/Tim Rühsen2019-05-071-3/+3
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Use https:// for www.gnu.org and www.example.comTim Rühsen2019-03-131-1/+1
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Constant time/cache PKCS#1 RSA decryptiontmp-fix-CVE-2018-16868Simo Sorce2018-11-301-0/+2
| | | | | | | | | | | This patch tries to make the code have the same time and memory access aptterns across all branches of the decryption function so that timining or cache side channels are minimized or neutralized. To do so it uses a new nettle rsa decryption function that is side-channel silent. Signed-off-by: Simo Sorce <simo@redhat.com>
* extensions: simplified requirements from send callbackNikos Mavrogiannopoulos2017-08-111-3/+0
| | | | | | | The callback no longer needs to return the number of sent data; they are now calculated by the caller. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Print the requested CA names when in debug modeNikos Mavrogiannopoulos2017-07-111-0/+12
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* errors.h: _gnutls_cert_log will only print on non-null certificatesNikos Mavrogiannopoulos2017-05-081-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* errors.h: added _gnutls_reason_logNikos Mavrogiannopoulos2016-11-251-0/+12
|
* errors.h: added _gnutls_cert_logNikos Mavrogiannopoulos2016-11-251-0/+13
| | | | This log function allows to easily log the name of a certificate.
* gnutls_assert_val: corrected regression from ↵Nikos Mavrogiannopoulos2016-05-151-4/+4
| | | | 78ee98e06c7862df38131b12083adc1a0c5eea4a
* gnutls_assert_val: was modified to be in line with gnutls_assert()Nikos Mavrogiannopoulos2016-05-151-1/+1
|
* improved output of gnutls_assert()Nikos Mavrogiannopoulos2016-05-101-1/+1
|
* errors.h: removed terminating colon on gnutls_assert() outputNikos Mavrogiannopoulos2016-05-021-1/+1
|
* errors.h: gnutls_assert() will log the function name in addition to ↵Nikos Mavrogiannopoulos2016-04-291-1/+1
| | | | | | | filename/line This is quite necessary after the filenames were simplified and we have filenames with identical names in the directory structure.
* _gnutls_asn2err: declared as constant functionNikos Mavrogiannopoulos2016-04-121-1/+2
|
* Removed the 'gnutls_' prefix from files to simplify file namingNikos Mavrogiannopoulos2015-08-231-0/+109