Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib/str.c: Replace sscanf() in _gnutls_buffer_unescape() | Tim Rühsen | 2019-10-13 | 1 | -14/+11 |
| | | | | | | Fixes Coverity issue 1454651 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | 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> | ||||
* | Remove redundant resets of variables after free() | Tim Rühsen | 2019-02-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | Fix typos in lib/tmp-fix-typos-in-lib | Tim Rühsen | 2019-01-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de> | ||||
* | vasprintf: use from gnulib; don't bundle twice | Nikos Mavrogiannopoulos | 2018-12-19 | 1 | -1/+0 |
| | | | | | | Relates #653 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | buf: _gnutls_buffer_pop_data made easier to use | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -9/+8 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | kx: moved to new buffer API | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -8/+0 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added _gnutls_buffer_pop_prefix24 and _gnutls_buffer_pop_prefix8 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+45 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: use assert to mark impossible cases | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+2 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: allow creating a read-only buffer | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -1/+6 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: rename _gnutls_buffer_pop_prefix to _gnutls_buffer_pop_prefix32 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -3/+3 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: rename _gnutls_buffer_pop_datum_prefix to _gnutls_buffer_pop_datum_prefix32 | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -2/+2 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added helper functions to read prefixed data with 8 or 16-bit headers | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+62 |
| | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | str: added function to append fixed-size MPI | Nikos Mavrogiannopoulos | 2018-02-19 | 1 | -0/+37 |
| | | | | | | | This is used in TLS 1.3 which introduces a new MPI over-the-wire format. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | nettle base64_encode_raw: use cast to avoid warnings | Nikos Mavrogiannopoulos | 2018-02-06 | 1 | -1/+1 |
| | | | | | | | | | | | Nettle switched prototypes for base64_encode_raw() as follows: -base64_encode_raw(uint8_t *dst, size_t length, const uint8_t *src); +base64_encode_raw(char *dst, size_t length, const uint8_t *src); That means we need to cast fist param to void if we want to avoid warnings on different platforms. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | _gnutls_buffer_append_data_prefix: cleanup | Nikos Mavrogiannopoulos | 2017-07-13 | 1 | -6/+5 |
| | | | | | | | | This eliminates a misleading code that assumed that the called functions will return the appended size. Always return zero on success which is what the existing callers assume. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | Removed unused functions | Nikos Mavrogiannopoulos | 2017-07-10 | 1 | -33/+0 |
| | | | | | | | These were identified using callcatcher. http://www.skynet.ie/~caolan/Packages/callcatcher.html Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | x509/output: print the public key PIN of a certificate | Nikos Mavrogiannopoulos | 2017-02-23 | 1 | -0/+21 |
| | | | | | | | That is, print the value used by the HPKP protocol as per RFC7469. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | eliminated various clang warnings with non-null arguments | Nikos Mavrogiannopoulos | 2017-02-20 | 1 | -0/+3 |
| | | | | | | | That is, use assert() to ensure that known to be non-null variables will be used as input to functions requiring non-null. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com> | ||||
* | avoid the use of c_isascii() and use c_isprint() | Nikos Mavrogiannopoulos | 2016-11-23 | 1 | -1/+1 |
| | | | | | That latter detects correctly the printable characters we are interested in. | ||||
* | cleanups in _gnutls_buffer_to_datum() | Nikos Mavrogiannopoulos | 2016-11-14 | 1 | -5/+9 |
| | |||||
* | several spacing fixes to keep syntax-check happy | Nikos Mavrogiannopoulos | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | avoid the usage of strncpy | Nikos Mavrogiannopoulos | 2016-09-11 | 1 | -1/+1 |
| | |||||
* | _gnutls_hex2bin: refuse to decode odd-sized hex data | Nikos Mavrogiannopoulos | 2016-04-29 | 1 | -0/+3 |
| | |||||
* | _gnutls_hex2bin: avoid overrun in the provided buffer | Nikos Mavrogiannopoulos | 2015-09-14 | 1 | -2/+1 |
| | |||||
* | Removed the 'gnutls_' prefix from files to simplify file naming | Nikos Mavrogiannopoulos | 2015-08-23 | 1 | -0/+951 |