Fix typo in pkcs5.c
Co-authored-by: Janos Follath <janos.follath@arm.com> Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
21d7d85af7
commit
c5fef82c52
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ int mbedtls_pkcs5_pbes2(const mbedtls_asn1_buf *pbe_params, int mode,
|
||||||
size_t output_len = 0;
|
size_t output_len = 0;
|
||||||
|
|
||||||
/* We assume caller of the function is providing a big enough output buffer
|
/* We assume caller of the function is providing a big enough output buffer
|
||||||
* so we pass output_size as SIZE_MAX to pass checks, However, no gurantees
|
* so we pass output_size as SIZE_MAX to pass checks, However, no guarantees
|
||||||
* for the output size actually being correct.
|
* for the output size actually being correct.
|
||||||
*/
|
*/
|
||||||
return mbedtls_pkcs5_pbes2_ext(pbe_params, mode, pwd, pwdlen, data,
|
return mbedtls_pkcs5_pbes2_ext(pbe_params, mode, pwd, pwdlen, data,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue