]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc update
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 2 Jan 2018 11:44:15 +0000 (12:44 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 19 Feb 2018 14:29:37 +0000 (15:29 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/ocsp-api.c
lib/x509/ocsp.c
lib/x509/x509.c

index b2e0297698ab68072285241110552723e06b6e88..8e27fd29ad84c88b7fbd5bfca123f88690e558f3 100644 (file)
@@ -417,8 +417,6 @@ gnutls_certificate_set_ocsp_status_request_file2(gnutls_certificate_credentials_
  * in the chain, the code %GNUTLS_E_OCSP_MISMATCH_WITH_CERTS is returned.
  * If the response is already expired at the time of loading the code
  * %GNUTLS_E_EXPIRED is returned.
- * If the response is already expired at the time of loading the code
- * %GNUTLS_E_EXPIRED is returned.
  *
  * Returns: On success, the number of loaded responses is returned,
  *   otherwise a negative error code.
index a413383748050dbf0d67eef9143da5bb4106b511..b92bf66536299ed04bdd10a411dd304405731d2b 100644 (file)
@@ -2419,12 +2419,12 @@ gnutls_ocsp_resp_verify(gnutls_ocsp_resp_t resp,
  * @ocsps: Will hold the parsed OCSP response list.
  * @size: It will contain the size of the list.
  * @resp_data: The PEM encoded OCSP list.
- * @format: Must be PEM.
+ * @format: One of %GNUTLS_X509_FMT_PEM or %GNUTLS_X509_FMT_DER
  * @flags: must be (0) or an OR'd sequence of gnutls_certificate_import_flags.
  *
  * This function will convert the given PEM encoded OCSP response list
  * to the native gnutls_ocsp_resp_t format. The output will be stored
- * in @ocsps which will allocated and initialized.
+ * in @ocsps which will be allocated and initialized.
  *
  * The OCSP responses should have a header of "OCSP RESPONSE".
  *
index 9728d7ba143640b6e7f5ef48c731e62c843ad201..190a839baf134e757f8264e996623d08aa783009 100644 (file)
@@ -3557,7 +3557,7 @@ gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt,
  *
  * This function will convert the given PEM encoded certificate list
  * to the native gnutls_x509_crt_t format. The output will be stored
- * in @certs which will allocated and initialized.
+ * in @certs which will be allocated and initialized.
  *
  * If the Certificate is PEM encoded it should have a header of "X509
  * CERTIFICATE", or "CERTIFICATE".