diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-01-02 12:44:15 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-02-19 15:29:37 +0100 |
commit | f92b9a4d3bbe3f0d1d77aa3d5c488debbacdc74d (patch) | |
tree | 5318478812b5ad44c3a954e7414ddfd7e5432f4b | |
parent | d031d4b65c8edb64dbbeb88cb501bc0e4b56f144 (diff) | |
download | gnutls-f92b9a4d3bbe3f0d1d77aa3d5c488debbacdc74d.tar.gz |
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/ocsp-api.c | 2 | ||||
-rw-r--r-- | lib/x509/ocsp.c | 4 | ||||
-rw-r--r-- | lib/x509/x509.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/lib/ocsp-api.c b/lib/ocsp-api.c index b2e0297698..8e27fd29ad 100644 --- a/lib/ocsp-api.c +++ b/lib/ocsp-api.c @@ -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. diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c index a413383748..b92bf66536 100644 --- a/lib/x509/ocsp.c +++ b/lib/x509/ocsp.c @@ -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". * diff --git a/lib/x509/x509.c b/lib/x509/x509.c index 9728d7ba14..190a839baf 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -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". |