Fixes minor typos in comments in pk.h and ctr_drbg.c

Fixes typos in PRs #475 and #437
This commit is contained in:
Simon Butcher 2016-05-10 19:39:36 +01:00
parent d96924de9c
commit 295639bfa1
2 changed files with 5 additions and 4 deletions

View file

@ -496,11 +496,12 @@ int mbedtls_pk_parse_keyfile( mbedtls_pk_context *ctx,
* \brief Load and parse a public key
*
* \param ctx key to be initialized
* \param path filename to read the private key from
* \param path filename to read the public key from
*
* \note On entry, ctx must be empty, either freshly initialised
* with mbedtls_pk_init() or reset with mbedtls_pk_free(). If you need a
* specific key type, check the result with mbedtls_pk_can_do().
* with mbedtls_pk_init() or reset with mbedtls_pk_free(). If
* you need a specific key type, check the result with
* mbedtls_pk_can_do().
*
* \note The key is also checked for correctness.
*