Address review comments

This commit is contained in:
Hanno Becker 2019-06-14 17:21:24 +01:00
parent b1cb0bde72
commit c6043f2b75
4 changed files with 9 additions and 11 deletions

View file

@ -150,7 +150,7 @@ int mbedtls_x509_crl_parse_file( mbedtls_x509_crl *chain, const char *path );
*/
int mbedtls_x509_crl_info( char *buf, size_t size, const char *prefix,
const mbedtls_x509_crl *crl );
#endif
#endif /* !MBEDTLS_X509_REMOVE_INFO */
/**
* \brief Initialize a CRL (chain)

View file

@ -354,9 +354,7 @@ int mbedtls_x509_crt_parse_path( mbedtls_x509_crt *chain, const char *path );
*/
int mbedtls_x509_crt_info( char *buf, size_t size, const char *prefix,
const mbedtls_x509_crt *crt );
#endif
#if !defined(MBEDTLS_X509_REMOVE_INFO)
/**
* \brief Returns an informational string about the
* verification status of a certificate.
@ -371,7 +369,7 @@ int mbedtls_x509_crt_info( char *buf, size_t size, const char *prefix,
*/
int mbedtls_x509_crt_verify_info( char *buf, size_t size, const char *prefix,
uint32_t flags );
#endif
#endif /* !MBEDTLS_X509_REMOVE_INFO */
/**
* \brief Verify the certificate signature

View file

@ -138,7 +138,7 @@ int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
*/
int mbedtls_x509_csr_info( char *buf, size_t size, const char *prefix,
const mbedtls_x509_csr *csr );
#endif
#endif /* !MBEDTLS_X509_REMOVE_INFO */
/**
* \brief Initialize a CSR