Fix some comment typos

This commit is contained in:
Manuel Pégourié-Gonnard 2018-03-05 13:22:59 +01:00
parent ab41f04554
commit 75d35600de
2 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ int mbedtls_x509_crt_verify_info( char *buf, size_t size, const char *prefix,
* used to sign the certificate, CRL verification is skipped * used to sign the certificate, CRL verification is skipped
* silently, that is *without* setting any flag. * silently, that is *without* setting any flag.
* *
* \note The \c trust_ca list can contain two type of certificates: * \note The \c trust_ca list can contain two types of certificates:
* (1) those of trusted root CAs, so that certificates * (1) those of trusted root CAs, so that certificates
* chaining up to those CAs will be trusted, and (2) * chaining up to those CAs will be trusted, and (2)
* self-signed end-entity certificates to be trusted (for * self-signed end-entity certificates to be trusted (for

View File

@ -1631,7 +1631,7 @@ int mbedtls_x509_crt_is_revoked( const mbedtls_x509_crt *crt, const mbedtls_x509
/* /*
* Check that the given certificate is not revoked according to the CRL. * Check that the given certificate is not revoked according to the CRL.
* Skip validation is no CRL for the given CA is present. * Skip validation if no CRL for the given CA is present.
*/ */
static int x509_crt_verifycrl( mbedtls_x509_crt *crt, mbedtls_x509_crt *ca, static int x509_crt_verifycrl( mbedtls_x509_crt *crt, mbedtls_x509_crt *ca,
mbedtls_x509_crl *crl_list, mbedtls_x509_crl *crl_list,