We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67f9064 commit c702ac6Copy full SHA for c702ac6
1 file changed
tests/rsa_test.c
@@ -340,7 +340,7 @@ static int _rsa_issue_301(int prng_idx)
340
rsa_free(&key_in);
341
342
rsa_free(&key);
343
- return 0;
+ return CRYPT_OK;
344
}
345
346
int rsa_test(void)
@@ -366,9 +366,7 @@ int rsa_test(void)
366
return 1;
367
368
369
- if (_rsa_issue_301(prng_idx) != 0) {
370
- return 1;
371
- }
+ DO(_rsa_issue_301(prng_idx));
372
373
/* make 10 random key */
374
for (cnt = 0; cnt < 10; cnt++) {
0 commit comments