summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Test set -e in CItmp-ci-exit-on-errorTim Rühsen2018-10-131-1/+3
| | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* Merge branch 'tmp-fix-eina-cpu-on-solaris' into 'master'Nikos Mavrogiannopoulos2018-10-101-2/+2
|\ | | | | | | | | Fix check for GNU C compiler in eina_cpu.c See merge request gnutls/gnutls!772
| * Fix check for GNU C compiler in eina_cpu.ctmp-fix-eina-cpu-on-solarisTim Rühsen2018-10-091-2/+2
| | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | Merge branch 'tmp-fix-gen-mech-list-on-solaris' into 'master'Tim Rühsen2018-10-091-1/+1
|\ \ | | | | | | | | | | | | Fix gen-mech-list.sh on Solaris / Bourne Shell See merge request gnutls/gnutls!771
| * | Fix gen-mech-list.sh on Solaris / Bourne ShellTim Rühsen2018-10-091-1/+1
| |/ | | | | | | | | | | | | | | `cmd` is more compatible than $(cmd). The shell is "sh (Schily Bourne Shell) version 2013/01/14 a+ (i386-pc-solaris2.9)" Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | Merge branch 'tmp-check-prereqs' into 'master'Nikos Mavrogiannopoulos2018-10-081-0/+2
|\ \ | | | | | | | | | | | | | | | | | | Let bootstrap check for gperf, makeinfo, rsync, autopoint Closes #582 See merge request gnutls/gnutls!769
| * | Let bootstrap check for gperf and autopointTim Rühsen2018-10-081-0/+2
| | | | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | | Merge branch 'tmp-fix-584' into 'master'Nikos Mavrogiannopoulos2018-10-083-2/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Skip tests/tls13/prf.c if visibility 'protected' doesn't work Closes #584 See merge request gnutls/gnutls!770
| * | Skip tests/tls13/prf.c if visibility 'protected' doesn't worktmp-fix-584Tim Rühsen2018-10-083-2/+14
|/ / | | | | | | | | | | | | | | | | | | Overriding gnutls_rnd() with visibility 'protected' doesn't always work. E.g. LDFLAGS="-Wl,-Bsymbolic-functions" seems to have priority on Debian derived systems. Fixes #584 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | tests: added unit test for gnutls_session_set_idtmp-add-unit-testNikos Mavrogiannopoulos2018-10-062-1/+212
|/ | | | | | | | | | This adds a unit and a negative test which ensures that a client will not be tricked in performing resumption when this function is used. Resolves #585 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* doc: fix use of gnutls_ext_raw_parse callback [ci skip]Nikos Mavrogiannopoulos2018-10-041-0/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Merge branch 'tmp-fix-priority-set-call' into 'master'Nikos Mavrogiannopoulos2018-10-045-14/+192
|\ | | | | | | | | | | | | gnutls_priority_set: do not override version on handshake Closes #580 See merge request gnutls/gnutls!765
| * gnutls_priority_set: do not override version on handshaketmp-fix-priority-set-callNikos Mavrogiannopoulos2018-10-035-14/+192
| | | | | | | | | | | | | | | | | | | | When handshake is in progress, do not override the default TLS version in the session. This allows gnutls_priority_set to be called in the post_client_hello function without breaking the handshake. Resolves #580 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* | Merge branch 'tmp-check-iv-size' into 'master'Nikos Mavrogiannopoulos2018-10-031-0/+3
|\ \ | | | | | | | | | | | | encrypt_packet_tls13: added explicit check on iv_size bounds See merge request gnutls/gnutls!767
| * | encrypt_packet_tls13: added explicit check on iv_size boundstmp-check-iv-sizeNikos Mavrogiannopoulos2018-10-021-0/+3
|/ / | | | | | | | | | | | | | | Although there are no ciphers defined for TLS1.3 which would overflow the assumed bound, an explicit check is necessary to avoid that code be a liability in future updates. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | privkey_pkcs8: added reference for validation parameters OID [ci skip]Nikos Mavrogiannopoulos2018-10-012-0/+2
| | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | NEWS: corrected typo [ci skip]Nikos Mavrogiannopoulos2018-10-011-1/+1
|/ | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Merge branch 'tmp-lib-c-strcase' into 'master'Nikos Mavrogiannopoulos2018-09-2911-53/+63
|\ | | | | | | | | | | | | Use ASCII version of strcasecmp() in library code Closes #570 See merge request gnutls/gnutls!764
| * Use ASCII version of strcasecmp() in library codetmp-lib-c-strcaseTim Rühsen2018-09-2711-53/+63
| | | | | | | | | | | | | | | | | | | | strcasecmp() has side effects in some locales. What we really need is c_strcasecmp() from Gnulib for comparing ASCII strings. Fixes #570 Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | Merge branch 'tlsfuzzer-ssl3' into 'master'Nikos Mavrogiannopoulos2018-09-2911-271/+273
|\ \ | | | | | | | | | | | | tlsfuzzer: add missing script See merge request gnutls/gnutls!759
| * | .gitlab-ci.yml: reenable SSLv2 hello support for SSL-3.0.Fedora.x86_64Dmitry Eremin-Solenikov2018-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Reenable SSLv2 hello support to let several SSL-3.0 tls-fuzzer tests pass. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: disable SSL3.0 in export-ciphers-rejected testDmitry Eremin-Solenikov2018-09-271-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | These tests will fail with SSL3.0-enabled gnutls-serv unless --ssl3 option was passed. We will run these tests anyway from gnutls-nocert-ssl3.json, so disable them here. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: support running from separate build dirDmitry Eremin-Solenikov2018-09-272-10/+9
| | | | | | | | | | | | | | | | | | | | | Adapt tls-fuzzer-common.sh script to be able to run tests in case srcdir != builddir. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | .gitlab-ci.yml: reenable full test suite in SSL-3.0/SHA-1 caseDmitry Eremin-Solenikov2018-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | | Reenable full test suite run in SSL-3.0/SHA-1 CI test case to let us catch issues in legacy code. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: add missing scriptDmitry Eremin-Solenikov2018-09-271-0/+29
| | | | | | | | | | | | | | | | | | | | | Makefile.am refers tls-fuzzer-nocert-ssl3.sh script, which is missing in the source tree. Add it back. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: move common code to separate fileDmitry Eremin-Solenikov2018-09-277-185/+72
| | | | | | | | | | | | | | | | | | Move common code to tls-fuzzer-common.sh to ease further adjustments. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: use random port for tls-fuzzer-nocert testDmitry Eremin-Solenikov2018-09-272-73/+136
| | | | | | | | | | | | | | | | | | | | | Like the rest of tls-fuzzer tests, pass "-p PORT" to subtests, allowing usage of random port for server. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
| * | tlsfuzzer: use random port for tls-fuzzer-cert testDmitry Eremin-Solenikov2018-09-272-13/+17
| | | | | | | | | | | | | | | | | | | | | Like the rest of tls-fuzzer tests, pass "-p PORT" to subtests, allowing usage of random port for server. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* | | Merge branch 'tmp-fix-buffer-t' into 'master'Nikos Mavrogiannopoulos2018-09-282-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make tlsproxy/buffer.c compilable by gcc 4.4.7 Closes #577 See merge request gnutls/gnutls!763
| * | | Make tlsproxy/buffer.c compilable by gcc 4.4.7Tim Rühsen2018-09-262-4/+4
| |/ / | | | | | | | | | Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
* | | Merge branch 'tmp-cleanup-in-docs' into 'master'Tim Rühsen2018-09-2812-327/+63
|\ \ \ | |_|/ |/| | | | | | | | manpage generation cleanup See merge request gnutls/gnutls!760
| * | manpages: do not generate any manpages for openpgp.htmp-cleanup-in-docsNikos Mavrogiannopoulos2018-09-261-14/+0
| | | | | | | | | | | | | | | | | | | | | This API is no longer functional and is only available as stubs for backwards binary compatibility. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | manpage generation: cleanupNikos Mavrogiannopoulos2018-09-265-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recognize parameters of the form unsigned char name[8], and do not print obscure warnings. Furthermore gdoc will fail when a function parameter is not described or when no function is found. This addresses the generation of undetected errors in generated manpages. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | doc: fixed missing function and enumeration parametersNikos Mavrogiannopoulos2018-09-266-4/+15
| | | | | | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | tests: removed unused fileNikos Mavrogiannopoulos2018-09-261-273/+0
| |/ | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-eliminate-dead-code' into 'master'Nikos Mavrogiannopoulos2018-09-261-2/+0
|\ \ | |/ |/| | | | | | | | | _gnutls_check_key_purpose: eliminated dead code Closes #573 See merge request gnutls/gnutls!762
| * _gnutls_check_key_purpose: eliminated dead codetmp-eliminate-dead-codeNikos Mavrogiannopoulos2018-09-261-2/+0
|/ | | | | | Resolves #573 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Merge branch 'tmp-fix-mech-list-generation' into 'master'Dmitry Eremin-Solenikov2018-09-261-1/+19
|\ | | | | | | | | mech-list.h: generate unique entries See merge request gnutls/gnutls!761
| * mech-list.h: generate unique entriestmp-fix-mech-list-generationNikos Mavrogiannopoulos2018-09-261-1/+19
|/ | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* released 3.6.4gnutls_3_6_4Nikos Mavrogiannopoulos2018-09-241-1/+1
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* tests: pkcs12-utf8 depend on bashtmp-enable-tls13Nikos Mavrogiannopoulos2018-09-241-2/+3
| | | | | | | | | The NetBSD default shell cannot handle the UTF-8 strings we use in that script. Resolves #544 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* bumped versions and updated NEWS fileNikos Mavrogiannopoulos2018-09-243-8/+16
| | | | Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Enable the TLS1.3 protocol by defaultNikos Mavrogiannopoulos2018-09-248-62/+4
| | | | | | | As the protocol has been finalized, and the implementation is stable and interoperable, there is no need to enable it conditionally. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* Merge branch 'tmp-pkcs11-lax-search' into 'master'Nikos Mavrogiannopoulos2018-09-246-43/+246
|\ | | | | | | | | | | | | Provide a less restrictive PKCS#11 search of certificates Closes #569 See merge request gnutls/gnutls!757
| * Provide a more flexible PKCS#11 search of trust store certificatestmp-pkcs11-lax-searchNikos Mavrogiannopoulos2018-09-216-43/+246
| | | | | | | | | | | | | | | | | | | | This addresses the problem where the CA certificate doesn't have a subject key identifier whereas the end certificates have an authority key identifier. Resolves #569 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-be-strict-on-crls' into 'master'Nikos Mavrogiannopoulos2018-09-2110-12/+235
|\ \ | | | | | | | | | | | | | | | | | | gnutls-cli enables CRL validation on startup Closes #564 See merge request gnutls/gnutls!752
| * | gnutls-cli: enable CRL validation on startupNikos Mavrogiannopoulos2018-09-215-5/+204
| | | | | | | | | | | | | | | | | | | | | | | | This also makes the failure in adding CRLs or CAs, a fatal error. Resolves #564 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
| * | trust list: added flag to force failure on CRL validation errorNikos Mavrogiannopoulos2018-09-215-7/+31
| |/ | | | | | | | | | | | | This allows an application to be notified of the addition of invalid CRLs in the trust list. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* | Merge branch 'tmp-session-ticket-key-rotation-ajuaristi' into 'master'Nikos Mavrogiannopoulos2018-09-2115-104/+1127
|\ \ | |/ |/| | | | | | | | | Session ticket key rotation with TOTP Closes #184 See merge request gnutls/gnutls!695
| * session tickets: check timestamp for validitytmp-session-ticket-key-rotation-ajuaristiNikos Mavrogiannopoulos2018-09-204-28/+29
| | | | | | | | | | | | | | | | | | We were previously only relying on the client's view of the ticket lifetime for TLS1.3 tickets. This makes sure that we only resume tickets that the server considers valid and consolidates the expiration time checks to _gnutls_check_resumed_params(). Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>