* keygen.c (gen_card_key): Add optional argument to return a pointer