Fix bounds and error checking in gen_key.c
1 file changed