From f4287236cc686381b0f9f8435cc394ea673b06d1 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 22 Oct 2016 09:41:45 +0200 Subject: modified the gnutls_certificate_set_key* change While the change was fully backwards compatible for applications that were adding a single certificate, and applications that were checking for negative errors codes, many applications do not. As this may cause incompatibility issues with software properly utilizing the previously documented API, the change is reverted, and applications need to explicitly enable a flag (GNUTLS_CERTIFICATE_API_V2) in the credentials structure for the set_key functions to return an index. --- lib/ext/status_request.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ext/status_request.c') diff --git a/lib/ext/status_request.c b/lib/ext/status_request.c index 01d0266151..203b481132 100644 --- a/lib/ext/status_request.c +++ b/lib/ext/status_request.c @@ -475,7 +475,8 @@ static int file_ocsp_func(gnutls_session_t session, void *ptr, * file accesses. * * Note: the ability to set multiple OCSP responses per credential - * structure via @idx was added in version 3.5.5. + * structure via @idx was added in version 3.5.6 with the + * %GNUTLS_CERTIFICATE_API_V2 flag. * * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, * otherwise a negative error code is returned. -- cgit v1.2.1