mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-15 14:49:57 +00:00
Fix typo in pkcs5.c
Co-authored-by: Janos Follath <[email protected]> Signed-off-by: Waleed Elmelegy <[email protected]>
This commit is contained in:
committed by
Waleed Elmelegy
co-authored by
Janos Follath
parent
d2a03cb6b8
commit
09f0a97d74
+1
-1
@@ -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