* 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.
* @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".
*
*
* 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".