]> git.ipfire.org Git - thirdparty/gnutls.git/log
thirdparty/gnutls.git
10 years agoload_dir_certs: use readdir() in all platforms
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 13:37:38 +0000 (15:37 +0200)] 
load_dir_certs: use readdir() in all platforms

According to glibc documentation readdir_r() is deprecated
and the use of readdir() is recommended. As such we switch to
it on all platforms.

10 years agotests: combined the resume checks for Anonymous and PSK ciphersuites
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 13:26:42 +0000 (15:26 +0200)] 
tests: combined the resume checks for Anonymous and PSK ciphersuites

In addition enhanced it to check the resumption on the certificate
ciphersuites as well.

10 years agoconfigure: Add a code coverage option
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 12:21:04 +0000 (14:21 +0200)] 
configure: Add a code coverage option

Configure with:
  ./configure --enable-code-coverage
Show coverage output with:
  make && make check && make code-coverage-capture

10 years agoMakefile.am: moved common rules (AM_CFLAGS) to common.mk
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 12:17:26 +0000 (14:17 +0200)] 
Makefile.am: moved common rules (AM_CFLAGS) to common.mk

10 years agognutls_ocsp_resp_get_single: fail if thisUpdate is not available or unparsable
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 10:12:40 +0000 (12:12 +0200)] 
gnutls_ocsp_resp_get_single: fail if thisUpdate is not available or unparsable

That is because this field is not optional, and a failure on its
parsing is always fatal. Reported by Yuan Jochen Kang.

10 years agognutls_x509_privkey_import2: document an intentional fall through
Nikos Mavrogiannopoulos [Tue, 12 Apr 2016 10:08:35 +0000 (12:08 +0200)] 
gnutls_x509_privkey_import2: document an intentional fall through

10 years agoREADME: add abi-compliance-checker into install instructions
Nikos Mavrogiannopoulos [Mon, 11 Apr 2016 14:48:46 +0000 (16:48 +0200)] 
README: add abi-compliance-checker into install instructions

10 years agognutls_x509_crt_get_key_usage: ensure that its returned value is properly handled
Nikos Mavrogiannopoulos [Mon, 11 Apr 2016 06:49:11 +0000 (08:49 +0200)] 
gnutls_x509_crt_get_key_usage: ensure that its returned value is properly handled

Reported by Yuan Jochen Kang.

10 years agotests: do not enable valgrind in non-git builds
Nikos Mavrogiannopoulos [Sun, 10 Apr 2016 08:54:29 +0000 (10:54 +0200)] 
tests: do not enable valgrind in non-git builds

10 years agohash: corrected the textual description of hashes
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 11:38:47 +0000 (13:38 +0200)] 
hash: corrected the textual description of hashes

10 years agocorrected SHA3-224 OID
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 11:34:39 +0000 (13:34 +0200)] 
corrected SHA3-224 OID

10 years agox509 output: don't warn about insecure algorithm when unknown
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 11:31:54 +0000 (13:31 +0200)] 
x509 output: don't warn about insecure algorithm when unknown

10 years agotests: remove any system specific code of ecore
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 10:43:22 +0000 (12:43 +0200)] 
tests: remove any system specific code of ecore

This was causing issues with certain builds and
was not used for the purpose of testing.

10 years agotests: disable unsupported curves from compatibility checks
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 09:51:34 +0000 (11:51 +0200)] 
tests: disable unsupported curves from compatibility checks

This allows running make check even when compiling with disable-suiteb-curves.

10 years agotests: removed unused scripts
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 09:49:07 +0000 (11:49 +0200)] 
tests: removed unused scripts

10 years ago.gitlab-ci.yml: combined C99 and undefined sanitizer builds
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 09:46:27 +0000 (11:46 +0200)] 
.gitlab-ci.yml: combined C99 and undefined sanitizer builds

10 years agodoc update
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 07:46:06 +0000 (09:46 +0200)] 
doc update

10 years agocrywrap: was removed from gnutls tools
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 07:43:49 +0000 (09:43 +0200)] 
crywrap: was removed from gnutls tools

Its inclusion did not increase the attention paid to this
tool, not provided any significant advantage to gnutls' users
thus it was unbundled from the main library. The tool can be found at
https://github.com/nmav/crywrap

10 years agominitasn1: updated to latest git version
Nikos Mavrogiannopoulos [Sat, 9 Apr 2016 06:17:53 +0000 (08:17 +0200)] 
minitasn1: updated to latest git version

10 years agodoc: Replace references to select with poll and other fixes
Nikos Mavrogiannopoulos [Fri, 8 Apr 2016 17:46:36 +0000 (19:46 +0200)] 
doc: Replace references to select with poll and other fixes

10 years agodoc: replace inaccurate sentence with reference to gnutls_record_discard_queued ...
Nikos Mavrogiannopoulos [Fri, 8 Apr 2016 17:40:28 +0000 (19:40 +0200)] 
doc: replace inaccurate sentence with reference to gnutls_record_discard_queued [ci skip]

10 years agognutls_record_get_direction: doc update [ci skip]
Nikos Mavrogiannopoulos [Fri, 8 Apr 2016 13:40:06 +0000 (15:40 +0200)] 
gnutls_record_get_direction: doc update [ci skip]

10 years agotests: reduce the number of loops in x509sign-verify2
Nikos Mavrogiannopoulos [Fri, 8 Apr 2016 12:13:26 +0000 (14:13 +0200)] 
tests: reduce the number of loops in x509sign-verify2

This enables running the test in reasonable time under valgrind.

10 years agopkix.asn: corrected byKey definition
Nikos Mavrogiannopoulos [Fri, 8 Apr 2016 11:36:44 +0000 (13:36 +0200)] 
pkix.asn: corrected byKey definition

OCSP is defined in an EXPLICIT tags module, and as such
we must tag explicitly all of its tags.

10 years agotests: check the generation of IP name constraints with certtool
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 11:22:29 +0000 (13:22 +0200)] 
tests: check the generation of IP name constraints with certtool

10 years agocerttool: allow generating IP name constraints
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 11:21:53 +0000 (13:21 +0200)] 
certtool: allow generating IP name constraints

Relates #83

10 years ago_gnutls_parse_general_name2: allow parsing empty names
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 11:16:07 +0000 (13:16 +0200)] 
_gnutls_parse_general_name2: allow parsing empty names

This allows parsing empty general names such as an empty DNSname
used in name constraints.

10 years agoname constraints: enforce the rules for IP constraints when adding
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 09:54:50 +0000 (11:54 +0200)] 
name constraints: enforce the rules for IP constraints when adding

This will prevent gnutls from generating badly formed certificates.

10 years agodoc update
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 08:36:05 +0000 (10:36 +0200)] 
doc update

10 years ago.gitignore: more files to ignore
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 08:33:18 +0000 (10:33 +0200)] 
.gitignore: more files to ignore

10 years agoname constraints: compute permitted set strictly
Daiki Ueno [Wed, 16 Mar 2016 05:21:41 +0000 (14:21 +0900)] 
name constraints: compute permitted set strictly

RFC 5280 6.1.4. states that the permitted_subtrees variable is
constructed as an intersection of its previous value.

Co-authored-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
10 years ago.gitlab-ci.yml: added C99 target for the library
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 07:08:14 +0000 (09:08 +0200)] 
.gitlab-ci.yml: added C99 target for the library

This compiles the library using gcc options for the C99
standard.

10 years agoREADME: updated libtasn1 URL [ci skip]
Nikos Mavrogiannopoulos [Tue, 5 Apr 2016 06:44:34 +0000 (08:44 +0200)] 
README: updated libtasn1 URL [ci skip]

10 years agox86-common: increase the size of _gnutls_x86_cpuid_s to match the size of assembly...
Nikos Mavrogiannopoulos [Sun, 3 Apr 2016 07:46:24 +0000 (09:46 +0200)] 
x86-common: increase the size of _gnutls_x86_cpuid_s to match the size of assembly files

This resolves issue on certain platforms (e.g., windows) where ld would simply fail,
instead of allocate the largest size of the variable.

10 years agoocsptool: use HTTP/1.0 for requests
Nikos Mavrogiannopoulos [Sat, 2 Apr 2016 10:56:45 +0000 (12:56 +0200)] 
ocsptool: use HTTP/1.0 for requests

This avoids issue with servers serving chunk encoding which
ocsptool doesn't support. Reported by Thomas Klute.

10 years agognutls_init(): refer to gnutls_init_flags_t for the documentation of available flags
Nikos Mavrogiannopoulos [Sat, 2 Apr 2016 10:02:08 +0000 (12:02 +0200)] 
gnutls_init(): refer to gnutls_init_flags_t for the documentation of available flags

10 years agoREADME.CODING_STYLE: set C99 as the C dialect of choice
Nikos Mavrogiannopoulos [Sat, 2 Apr 2016 09:16:19 +0000 (11:16 +0200)] 
README.CODING_STYLE: set C99 as the C dialect of choice

10 years agodoc update
Nikos Mavrogiannopoulos [Fri, 1 Apr 2016 09:10:56 +0000 (11:10 +0200)] 
doc update

10 years agotests: added check for system priority file loading and parsing
Nikos Mavrogiannopoulos [Fri, 1 Apr 2016 09:08:38 +0000 (11:08 +0200)] 
tests: added check for system priority file loading and parsing

This checks whether the file is properly loaded and its contents
are parsed as expected.

10 years agopriorities: preload the system priorities on library loading time
Nikos Mavrogiannopoulos [Fri, 1 Apr 2016 08:46:12 +0000 (10:46 +0200)] 
priorities: preload the system priorities on library loading time

This allows to rely on the system priorities even in the case of
applications that chroot(). This also introduces the environment
variable GNUTLS_SYSTEM_PRIORITY_FILE which can be used to override
the global priority file.

10 years agodoc update
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 15:25:45 +0000 (17:25 +0200)] 
doc update

10 years agotests: added check of verification using MD5 with and without --verify-allow-broken
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 15:24:37 +0000 (17:24 +0200)] 
tests: added check of verification using MD5 with and without --verify-allow-broken

This tests certtool and whether it fails verification of MD5 chains
with no --verify-allow-broken, or whether it succeeds if given.

10 years agotests: added PKCS #7 signing/verification test with broken sigs (MD5)
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 15:15:34 +0000 (17:15 +0200)] 
tests: added PKCS #7 signing/verification test with broken sigs (MD5)

This tests whether we can sign structures using broken algorithms (MD5),
and verify structures signed with broken algoritms if --verify-allow-broken
is given to certtool.

10 years agocerttool: added flag to allow verification using broken algorithms
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 14:58:37 +0000 (16:58 +0200)] 
certtool: added flag to allow verification using broken algorithms

10 years agodoc update
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 07:46:44 +0000 (09:46 +0200)] 
doc update

10 years agotests: check whether resumption data from resumed session work
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 08:29:59 +0000 (10:29 +0200)] 
tests: check whether resumption data from resumed session work

10 years agosession resumption: lift the limitation of calling gnutls_session_get_data*() on...
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 07:40:09 +0000 (09:40 +0200)] 
session resumption: lift the limitation of calling gnutls_session_get_data*() on non-resumed sessions

This allows of obtaining the session data required for proper session resumption
from any available session. This brings the API in par with expectations of its
users.

Resolves #79

10 years agodtls: added missing dtls.h to state.c
Nikos Mavrogiannopoulos [Thu, 31 Mar 2016 07:45:43 +0000 (09:45 +0200)] 
dtls: added missing dtls.h to state.c

10 years agotests: added check for gnutls_record_set_state() under DTLS
Nikos Mavrogiannopoulos [Wed, 30 Mar 2016 10:24:09 +0000 (12:24 +0200)] 
tests: added check for gnutls_record_set_state() under DTLS

10 years agodtls: reset the record number sliding window on gnutls_record_set_state()
Nikos Mavrogiannopoulos [Wed, 30 Mar 2016 09:37:49 +0000 (11:37 +0200)] 
dtls: reset the record number sliding window on gnutls_record_set_state()

This addresses issue where gnutls_record_set_state() was called with a
new state but the sliding window information was not updated, thus
blocking any incoming packets.

Resolves #82

10 years agox509/output: simplified cidr_to_string()
Nikos Mavrogiannopoulos [Wed, 30 Mar 2016 08:13:18 +0000 (10:13 +0200)] 
x509/output: simplified cidr_to_string()

10 years ago.gitignore: more files to ignore
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 14:14:15 +0000 (16:14 +0200)] 
.gitignore: more files to ignore

10 years agotests: check gnutls_record_get_state() with DTLS
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 14:11:36 +0000 (16:11 +0200)] 
tests: check gnutls_record_get_state() with DTLS

Since in DTLS we relied on a sliding window to keep track of the
sequence numbers we didn't provide a sensible value to application
via gnutls_record_get_state(). This test makes sure that we report
the "correct" value when asked. Correct being the next number after
the last received packet.

10 years agoDTLS: save last valid record sequence number
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 13:52:59 +0000 (15:52 +0200)] 
DTLS: save last valid record sequence number

This will allow to report a valid number to gnutls_record_get_state() callers
in case of DTLS. Reported by Fridolin Pokorny.

10 years agotests: delete outfile in certtool-long-cn
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 13:34:37 +0000 (15:34 +0200)] 
tests: delete outfile in certtool-long-cn

10 years agotests: verify the output of name constraints IP decoding
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 13:33:27 +0000 (15:33 +0200)] 
tests: verify the output of name constraints IP decoding

10 years agox509/output: print RFC5280 CIDRs in name constraints
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 13:04:11 +0000 (15:04 +0200)] 
x509/output: print RFC5280 CIDRs in name constraints

10 years agotests: check the sequence numbers produced by gnutls_record_get_state()
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 12:11:56 +0000 (14:11 +0200)] 
tests: check the sequence numbers produced by gnutls_record_get_state()

10 years agognutls_record_get_state: Allow for NULL parameters
Nikos Mavrogiannopoulos [Tue, 29 Mar 2016 12:08:58 +0000 (14:08 +0200)] 
gnutls_record_get_state: Allow for NULL parameters

10 years agoocsptool: eliminated memory leaks in verify-response option
Nikos Mavrogiannopoulos [Thu, 24 Mar 2016 06:13:59 +0000 (07:13 +0100)] 
ocsptool: eliminated memory leaks in verify-response option

10 years agoocsptool: don't exit with error code on verification failures when --ignore-errors...
Nikos Mavrogiannopoulos [Thu, 24 Mar 2016 06:12:34 +0000 (07:12 +0100)] 
ocsptool: don't exit with error code on verification failures when --ignore-errors is given

10 years agotests: added OCSP related checks
Nikos Mavrogiannopoulos [Wed, 23 Mar 2016 22:15:24 +0000 (23:15 +0100)] 
tests: added OCSP related checks

10 years agoocsptool: exit with error on verification failures
Nikos Mavrogiannopoulos [Wed, 23 Mar 2016 22:14:01 +0000 (23:14 +0100)] 
ocsptool: exit with error on verification failures

10 years agoocsp: gnutls_ocsp_resp_verify_direct will skip additional checks for certificates...
Nikos Mavrogiannopoulos [Wed, 23 Mar 2016 22:00:53 +0000 (23:00 +0100)] 
ocsp: gnutls_ocsp_resp_verify_direct will skip additional checks for certificates matching issuer

That eliminates issue with ocsptool rejecting OCSP responses signed
by the same CA that signed the certificate. Reported by Thomas Klute.

10 years agoocsptool: Allow saving responses even if verification fails
Nikos Mavrogiannopoulos [Wed, 23 Mar 2016 21:46:16 +0000 (22:46 +0100)] 
ocsptool: Allow saving responses even if verification fails

In addition do not enter a spurious newline to responses.

10 years agoAvoid using strerror in dtls stress test
Maya Rashish [Wed, 23 Mar 2016 16:04:07 +0000 (18:04 +0200)] 
Avoid using strerror in dtls stress test

Using it results in build failure on NetBSD:
undefined reference to `rpl_strerror'

10 years agoAdd missing header to testsuite
Maya Rashish [Wed, 23 Mar 2016 14:08:02 +0000 (16:08 +0200)] 
Add missing header to testsuite

This causes a problem for NetBSD+clang tests, because SIGTERM and
kill are undefined.

Resolves #80

Signed-off-by: Maya Rashish <coypu@sdf.org>
10 years agosession tickets: avoid GCM for session tickets and rely on CBC and HMAC
Nikos Mavrogiannopoulos [Wed, 23 Mar 2016 09:39:59 +0000 (10:39 +0100)] 
session tickets: avoid GCM for session tickets and rely on CBC and HMAC

The latter is more resilient against non-key renewal.

10 years agoBroke apart _gnutls_recv_int() to the packet and non-packet cases.
Jaak Ristioja [Mon, 15 Feb 2016 10:14:52 +0000 (12:14 +0200)] 
Broke apart _gnutls_recv_int() to the packet and non-packet cases.

Only gnutls_record_recv_packet() called _gnutls_recv_int() with
(packet != NULL). I refactored this logic directly downstream into
gnutls_record_recv_packet(). The _gnutls_recv_int() function now only
handles non-packet specific logic. The check_session_status() function
was created to deduplicate common code which would otherwise have
ended up in both functions.

The rationale behind this change is to optimize what were previously
calls of _gnutls_recv_int(). First of all _gnutls_recv_int() now has
only 6 parameters, which according to the x86_64 System V Application
Binary Interface should now fit into CPU registers and no longer use
the stack. Secondly this change avoids a number of branching checks
for both packet and non-packet cases.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
10 years agognutls-cli: corrected usage of gnutls_session_get_data()
Nikos Mavrogiannopoulos [Mon, 21 Mar 2016 10:29:08 +0000 (11:29 +0100)] 
gnutls-cli: corrected usage of gnutls_session_get_data()

This is no longer called on resumed sessions, allowing more than
one resumption in servers which use tickets and don't resend the ticket
on subsequent connections.

10 years agotestcompat-openssl: enable TLS 1.2 tests with openssl 1.0.1+
Nikos Mavrogiannopoulos [Fri, 18 Mar 2016 12:10:40 +0000 (13:10 +0100)] 
testcompat-openssl: enable TLS 1.2 tests with openssl 1.0.1+

10 years agotests: verify that the post-client-hello callback has access to ALPN data
Nikos Mavrogiannopoulos [Fri, 18 Mar 2016 10:21:35 +0000 (11:21 +0100)] 
tests: verify that the post-client-hello callback has access to ALPN data

10 years ago.gitlab-ci.yml: don't use git submodule update, not needed for our testsuite
Nikos Mavrogiannopoulos [Fri, 18 Mar 2016 09:35:46 +0000 (10:35 +0100)] 
.gitlab-ci.yml: don't use git submodule update, not needed for our testsuite

10 years agoalpn: ALPN state is per-connection, it should not be saved with session data
Yuriy M. Kaminskiy [Tue, 15 Mar 2016 15:21:32 +0000 (18:21 +0300)] 
alpn: ALPN state is per-connection, it should not be saved with session data

In addition the extension was moved to the mandatory to parse to ensure it
is always parsed when sessions are resumed.

rfc7301:
    Unlike many other TLS extensions, this extension does not establish
    properties of the session, only of the connection.  When session
    resumption or session tickets [RFC5077] are used, the previous
    contents of this extension are irrelevant, and only the values in the
    new handshake messages are considered.

Signed-off-by: Yuriy M. Kaminskiy <yumkam@gmail.com>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
10 years agotests: added checks for session resumption and ALPN
Nikos Mavrogiannopoulos [Fri, 18 Mar 2016 08:44:40 +0000 (09:44 +0100)] 
tests: added checks for session resumption and ALPN

This checks whether the ALPN extension is re-read on
resumption and is negotiated.

10 years agox86-common: CPUID override will only work if CPU has already the capability present
Nikos Mavrogiannopoulos [Wed, 16 Mar 2016 09:00:17 +0000 (10:00 +0100)] 
x86-common: CPUID override will only work if CPU has already the capability present

This resolves test suite failure on CPUs with limited capabilities.
Reported by Andreas Metzler.

10 years agoIntroduced GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRING
Nikos Mavrogiannopoulos [Thu, 11 Feb 2016 16:35:12 +0000 (17:35 +0100)] 
Introduced GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRING

This error code is returned when an embedded NULL is detected in
a string.

10 years agognutls_server_name_set: accept non-null terminated hostnames
Nikos Mavrogiannopoulos [Wed, 16 Mar 2016 20:03:54 +0000 (21:03 +0100)] 
gnutls_server_name_set: accept non-null terminated hostnames

The introduction of IDNA support introduced a regression and this
function does not operate correctly when given non-null terminated
strings. Reported by Tim Ruehsen.

Relates #78

10 years agotests: added check for non-null terminated server name
Nikos Mavrogiannopoulos [Wed, 16 Mar 2016 19:57:31 +0000 (20:57 +0100)] 
tests: added check for non-null terminated server name

This checks whether a non-null terminated server name, but with
correct length is correctly accepted by gnutls_server_name_set().

Relates #78

10 years agotests: template-test was updated for OCSP key purpose reordering
Nikos Mavrogiannopoulos [Tue, 15 Mar 2016 11:00:39 +0000 (12:00 +0100)] 
tests: template-test was updated for OCSP key purpose reordering

10 years agoguile: doc: Mention bytevectors.
Ludovic Courtès [Mon, 14 Mar 2016 09:44:08 +0000 (10:44 +0100)] 
guile: doc: Mention bytevectors.

* doc/gnutls-guile.texi (Representation of Binary Data): Mention bytevectors.
(Input and Output): Likewise.

10 years agoguile: doc: Explain "Application Data" packets and 'session-record-port'.
Ludovic Courtès [Mon, 14 Mar 2016 09:44:07 +0000 (10:44 +0100)] 
guile: doc: Explain "Application Data" packets and 'session-record-port'.

* doc/gnutls-guile.texi (Input and Output): Mention "Application Data"
packets and buffering.

10 years agocerttool: do not require a CA for OCSP signing
Nikos Mavrogiannopoulos [Tue, 15 Mar 2016 10:20:16 +0000 (11:20 +0100)] 
certtool: do not require a CA for OCSP signing

This follows the recommendations in RFC6960 in 4.2.2.2
which allow a CA to delegate OCSP signing to another certificate
without requiring it to be a CA.

Reported by Thomas Klute.

10 years agodoc: updated text for gnutls_ocsp_status_request_is_checked()
Nikos Mavrogiannopoulos [Mon, 14 Mar 2016 13:06:01 +0000 (14:06 +0100)] 
doc: updated text for gnutls_ocsp_status_request_is_checked()

Relates #75

10 years agodoc: clarified expectations on gnutls_datum_t
Nikos Mavrogiannopoulos [Mon, 14 Mar 2016 12:56:17 +0000 (13:56 +0100)] 
doc: clarified expectations on gnutls_datum_t

Relates #77

10 years agodoc update: gnutls_handshake_set_false_start_function() [ci skip]
Nikos Mavrogiannopoulos [Sun, 13 Mar 2016 19:55:02 +0000 (20:55 +0100)] 
doc update: gnutls_handshake_set_false_start_function() [ci skip]

10 years agoabi-check: corrected type of gnutls_x509_crl_get_issuer_dn
Nikos Mavrogiannopoulos [Sun, 13 Mar 2016 10:39:22 +0000 (11:39 +0100)] 
abi-check: corrected type of gnutls_x509_crl_get_issuer_dn

That will avoid any accidental ABI breakage on that symbol.

10 years ago.gitlab-ci.yml: added abi-checker rule
Nikos Mavrogiannopoulos [Fri, 11 Mar 2016 13:45:02 +0000 (14:45 +0100)] 
.gitlab-ci.yml: added abi-checker rule

This allows to test ABI incompatibilities as soon as possible.

10 years agoMakefile: made abi-checks self-contained
Nikos Mavrogiannopoulos [Fri, 11 Mar 2016 13:36:39 +0000 (14:36 +0100)] 
Makefile: made abi-checks self-contained

That is, they no longer assume a given directory structure to exist
outside git. It now includes a static dump of the symbols in 3.4.0
for x86_64 and we compare with it.

10 years agocerttool: better error handling in file_size()
Nikos Mavrogiannopoulos [Fri, 11 Mar 2016 10:52:17 +0000 (11:52 +0100)] 
certtool: better error handling in file_size()

10 years agognutls-cli: fix invalid initialization in cert_verify_ocsp()
Nikos Mavrogiannopoulos [Fri, 11 Mar 2016 10:47:12 +0000 (11:47 +0100)] 
gnutls-cli: fix invalid initialization in cert_verify_ocsp()

10 years agognutls-serv: human_addr always returns a non-null argument
Nikos Mavrogiannopoulos [Fri, 11 Mar 2016 10:45:23 +0000 (11:45 +0100)] 
gnutls-serv: human_addr always returns a non-null argument

This addresses issue with libc's which don't support printf() with
a NULL argument.

10 years agotests: testpkcs11: the test will always fail in code path failures
Nikos Mavrogiannopoulos [Tue, 8 Mar 2016 14:10:07 +0000 (15:10 +0100)] 
tests: testpkcs11: the test will always fail in code path failures

10 years agoREADME: list the main branches build status [ci skip]
Nikos Mavrogiannopoulos [Tue, 8 Mar 2016 09:12:22 +0000 (10:12 +0100)] 
README: list the main branches build status [ci skip]

10 years agognutls_system_recv_timeout: restore poll on EINTR
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 10:50:34 +0000 (11:50 +0100)] 
gnutls_system_recv_timeout: restore poll on EINTR

10 years agodoc: corrected typo [ci skip]
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 09:47:43 +0000 (10:47 +0100)] 
doc: corrected typo [ci skip]

10 years agognutls_ocsp_status_request_is_checked: document the version the flag was introduced at
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 09:42:14 +0000 (10:42 +0100)] 
gnutls_ocsp_status_request_is_checked: document the version the flag was introduced at

Relates: #75

10 years agodoc: generate manpages for all functions
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 09:25:57 +0000 (10:25 +0100)] 
doc: generate manpages for all functions

That addresses issue where certain manpages were created empty.
See https://bugzilla.redhat.com/show_bug.cgi?id=1306800

10 years agodoc: mention gnutls_certificate_set_x509_trust_dir()
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 09:11:37 +0000 (10:11 +0100)] 
doc: mention gnutls_certificate_set_x509_trust_dir()

It was not mentioned in the "Client or server certificate verification"
section.

Resolves #76

10 years agotests: mini-loss-time: improved timeout detection
Nikos Mavrogiannopoulos [Mon, 7 Mar 2016 08:30:44 +0000 (09:30 +0100)] 
tests: mini-loss-time: improved timeout detection