aboutsummaryrefslogtreecommitdiff
path: root/crypto/rsa/rsa_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rsa/rsa_test.c')
-rw-r--r--crypto/rsa/rsa_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_test.c b/crypto/rsa/rsa_test.c
index 75489e0..386ecac 100644
--- a/crypto/rsa/rsa_test.c
+++ b/crypto/rsa/rsa_test.c
@@ -478,8 +478,9 @@ int main(int argc, char *argv[]) {
int b;
unsigned char saved = ctext[n];
for (b = 0; b < 256; ++b) {
- if (b == saved)
+ if (b == saved) {
continue;
+ }
ctext[n] = b;
num =
RSA_private_decrypt(num, ctext, ptext, key, RSA_PKCS1_OAEP_PADDING);