]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: clarifications in gnutls_certificate_set_ocsp_status_request_function()
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 7 Sep 2016 11:29:54 +0000 (13:29 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 12 Sep 2016 07:49:23 +0000 (09:49 +0200)
lib/ext/status_request.c

index 637a4403d2bd24d6879764f07fc96a01b97146c2..44f0ecfe0e575552df710aef5232bf325bebff23 100644 (file)
@@ -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.