Add precision about exploitability in ChangeLog
Also fix some whitespace while at it.
diff --git a/ChangeLog b/ChangeLog
index 4650dc5..bcfe0ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
Security
* Fix potential integer overflow to buffer overflow in
mbedtls_rsa_rsaes_pkcs1_v15_encrypt and mbedtls_rsa_rsaes_oaep_encrypt
+ (not triggerable remotely in (D)TLS).
Bugfix
* Fix bug in mbedtls_mpi_add_mpi() that caused wrong results when the three
diff --git a/library/rsa.c b/library/rsa.c
index 3cb92f4..9150e87 100644
--- a/library/rsa.c
+++ b/library/rsa.c
@@ -595,7 +595,7 @@
return( MBEDTLS_ERR_RSA_BAD_INPUT_DATA );
olen = ctx->len;
-
+
// first comparison checks for overflow
if( ilen + 11 < ilen || olen < ilen + 11 )
return( MBEDTLS_ERR_RSA_BAD_INPUT_DATA );