diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-10-22 09:41:45 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-10-23 20:07:11 +0200 |
commit | f4287236cc686381b0f9f8435cc394ea673b06d1 (patch) | |
tree | f16d9351c5d5873a6033d733adebf15d929af99c /lib/ext/status_request.c | |
parent | a8c269964c2bd2a9edf9d6fe7b00481290fa9b13 (diff) | |
download | gnutls-tmp-document-api-change.tar.gz |
modified the gnutls_certificate_set_key* changetmp-document-api-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.
Diffstat (limited to 'lib/ext/status_request.c')
-rw-r--r-- | lib/ext/status_request.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. |