summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-07 13:29:54 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-12 09:49:23 +0200
commitcc825ddd8da92006dfa0a028f1b08223caba2d0a (patch)
treebcb56d921cd43b230e8341de833fc9a0de2ab8b5
parentf70709b91650870c4b654267640cd32dca56e04d (diff)
downloadgnutls-cc825ddd8da92006dfa0a028f1b08223caba2d0a.tar.gz
doc: clarifications in gnutls_certificate_set_ocsp_status_request_function()
-rw-r--r--lib/ext/status_request.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/ext/status_request.c b/lib/ext/status_request.c
index 637a4403d2..44f0ecfe0e 100644
--- a/lib/ext/status_request.c
+++ b/lib/ext/status_request.c
@@ -405,10 +405,9 @@ gnutls_ocsp_status_request_get(gnutls_session_t session,
* The callback will be invoked if the client requests an OCSP certificate
* status. The callback may return %GNUTLS_E_NO_CERTIFICATE_STATUS, if
* there is no recent OCSP response. If the callback returns %GNUTLS_E_SUCCESS,
- * the server will provide the client with the ocsp_response.
- *
- * The response must be a value allocated using gnutls_malloc(), and will be
- * deinitialized when needed.
+ * it is expected to have the @ocsp_response field set with a valid (DER-encoded)
+ * OCSP response. The response must be a value allocated using gnutls_malloc(),
+ * and will be deinitialized by the caller.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned,
* otherwise a negative error code is returned.