Nikos Mavrogiannopoulos <[email protected]> writes:

> diff --git a/examples/hogweed-benchmark.c b/examples/hogweed-benchmark.c
> index 05372ab..311fa2d 100644
> --- a/examples/hogweed-benchmark.c
> +++ b/examples/hogweed-benchmark.c
> @@ -521,6 +521,7 @@ bench_openssl_rsa_init (unsigned size)
>    ctx->ref = xalloc (RSA_size (ctx->key));
>    ctx->signature = xalloc (RSA_size (ctx->key));
>    ctx->digest = hash_string (&nettle_sha1, 3, "foo");
> +  RSA_blinding_off(ctx->key);
>  
>    if (! RSA_sign (NID_sha1, ctx->digest, SHA1_DIGEST_SIZE,
>                 ctx->ref, &ctx->siglen, ctx->key))

Thanks, applied.

/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to