1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

- Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.

This commit is contained in:
Paul Bakker
2009-07-19 20:41:06 +00:00
parent fc22c441bc
commit 38e2b482ff
4 changed files with 4 additions and 3 deletions

View File

@ -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 );