Usage of gcry_pk_genkey()

Werner Koch wk@gnupg.org
Mon, 29 Apr 2002 22:26:17 +0200


On Mon, 29 Apr 2002 21:16:41 +0200, Rüdiger Sonderfeld said:

> DBG: overflow in prime generation
> and so on until I stop the program

You are using 1.1.5, right?  There is a silly bug in it - upgrade to
1.1.6.

2002-01-04  Werner Koch  <wk@gnupg.org>

	* primegen.c (gen_prime): Of course we should use set_bit
	and not set_highbit to set the second high bit.