mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-20 11:11:08 +01:00
Add improvements to code comments and docs
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
@@ -317,7 +317,7 @@ int mbedtls_x509_dn_gets(char *buf, size_t size, const mbedtls_x509_name *dn);
|
||||
|
||||
|
||||
/**
|
||||
* \brief Convert the pk_key_type to a string.
|
||||
* \brief Return the key's type as a string.
|
||||
*
|
||||
* \param[in] pk A mbedtls_pk_context struct containing the pk_key_type to
|
||||
convert
|
||||
|
||||
@@ -123,7 +123,7 @@ int mbedtls_x509_get_alg(unsigned char **p, const unsigned char *end,
|
||||
}
|
||||
|
||||
/*
|
||||
* Convert pk_key_type to a string
|
||||
* Convert the key type to a string
|
||||
*/
|
||||
const char *mbedtls_x509_pk_type_as_string(const mbedtls_pk_context *pk)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user