提交 8b68b7e9 编写于 作者: B Ben Laurie

Use BN_ULONG format.

Reviewed-by: Andy Polyakov
上级 dc2a1af8
...@@ -1799,8 +1799,8 @@ int test_probable_prime_coprime(BIO *bp, BN_CTX *ctx) ...@@ -1799,8 +1799,8 @@ int test_probable_prime_coprime(BIO *bp, BN_CTX *ctx)
for (j = 0; j < 5; j++) { for (j = 0; j < 5; j++) {
if (BN_mod_word(r, primes[j]) == 0) { if (BN_mod_word(r, primes[j]) == 0) {
BIO_printf(bp, "Number generated is not coprime to %ld:\n", BIO_printf(bp, "Number generated is not coprime to "
primes[j]); BN_DEC_FMT1 ":\n", primes[j]);
BN_print_fp(stdout, r); BN_print_fp(stdout, r);
BIO_printf(bp, "\n"); BIO_printf(bp, "\n");
goto err; goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册