]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
ocsp: gnutls_ocsp_status_request_is_checked: fix note on TLS 1.3 [ci skip]
authorDaiki Ueno <ueno@gnu.org>
Thu, 29 Aug 2024 10:07:11 +0000 (19:07 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 29 Aug 2024 10:12:55 +0000 (19:12 +0900)
The previous note on limitation under TLS 1.3 was misleading, as it
used "server-side" and "client-side" in a confusing manner. This
rewords the sentence to be more consistent.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
lib/ocsp-api.c

index 73d05b19c8dae70eddc80ab325b00ab8fc610d6c..4ec8d755a6f9d409521ae6365d178bfc6f022ba3 100644 (file)
@@ -613,8 +613,8 @@ gnutls_certificate_get_ocsp_expiration(gnutls_certificate_credentials_t sc,
  * explicit OCSP validity check on the peer's certificate. Should be called after
  * any of gnutls_certificate_verify_peers*() are called.
  *
- * This function is always usable on client side, but on server side only
- * under TLS 1.3, which is the first version of TLS that allows cliend-side OCSP
+ * This function is always usable on client side, but on server side only under
+ * TLS 1.3, which is the first version of TLS that allows clients to send OCSP
  * responses.
  *
  * Returns: Non-zero if the response was valid, or a zero if it wasn't sent,