mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03: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:
committed by
Waleed Elmelegy
parent
d2a03cb6b8
commit
09f0a97d74
@ -126,7 +126,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,
|
||||||
|
Reference in New Issue
Block a user