Commit a606716f authored by Niels Möller's avatar Niels Möller

* src/dsa.c (do_dsa_sign): Display any unexpected algorithm atom

before crashing.

Rev: src/dsa.c:1.26.2.1
parent f8665a40
......@@ -525,7 +525,8 @@ do_dsa_sign(struct signer *c,
break;
default:
fatal("do_dsa_sign: Internal error.");
fatal("do_dsa_sign: Internal error, unexpected algorithm %a.\n",
algorithm);
}
mpz_clear(r);
mpz_clear(s);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment