RT 3493: fix RSA test
authorEmilia Kasper <emilia@openssl.org>
Tue, 1 Sep 2015 11:19:15 +0000 (13:19 +0200)
committerEmilia Kasper <emilia@openssl.org>
Tue, 1 Sep 2015 18:01:24 +0000 (20:01 +0200)
- Pass in the right ciphertext length to ensure we're indeed testing
  ciphertext corruption (and not truncation).
- Only test one mutation per byte to not make the test too slow.
- Add a separate test for truncated ciphertexts.

Reviewed-by: Richard Levitte <levitte@openssl.org>

No differences found