mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-27 07:37:05 +08:00
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
@ -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…
x
Reference in New Issue
Block a user