See T1699: A NULL pointer may be dereferenced in file "cipher/dsa.c" inside function "generate " on line 320