Skip to content

Commit

Permalink
Fix RSA tests printf format warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
rben-dev committed Jun 6, 2023
1 parent 03e5c66 commit 7d5a366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/examples/sig/rsa/rsa_tests.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ ATTRIBUTE_WARN_UNUSED_RET static inline int perform_rsa_tests(const rsa_test **t
}
err1:
if(ret){
ext_printf("[-] Test %s failed (modbits = %d)\n", t->name, t->modbits);
ext_printf("[-] Test %s failed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
goto err;
}
else{
ext_printf("[+] Test %s passed (modbits = %d)\n", t->name, t->modbits);
ext_printf("[+] Test %s passed (modbits = %" PRIu32 ")\n", t->name, t->modbits);
}
}

Expand Down

0 comments on commit 7d5a366

Please sign in to comment.