mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
- Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
This commit is contained in:
parent
fc22c441bc
commit
38e2b482ff
4 changed files with 4 additions and 3 deletions
|
|
@ -377,7 +377,7 @@ int rsa_pkcs1_decrypt( rsa_context *ctx,
|
|||
}
|
||||
|
||||
if (ilen - (int)(p - buf) > output_max_len)
|
||||
return( POLARSSL_ERR_RSA_OUTPUT_TO_LARGE );
|
||||
return( POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE );
|
||||
|
||||
*olen = ilen - (int)(p - buf);
|
||||
memcpy( output, p, *olen );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue