Commit d0a0bbab authored by Niels Möller's avatar Niels Möller
Browse files

(test_main): Don't use gmp_printf,

as it seems it's only available with the newer gmp. Use
mpz_out_str instead.

Rev: src/nettle/testsuite/rsa-encrypt-test.c:1.2
parent cf2e2f02
......@@ -38,7 +38,11 @@ test_main(void)
if (verbose)
gmp_fprintf(stderr, "encrypted: %Zd\n", gibberish);
/* In which GMP version was gmp_fprintf introduced? */
fprintf(stderr, "encrypted: ");
mpz_out_str(stderr, 10, gibberish);
decrypted = alloca(msg_length + 1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment