Commit 17a23602 authored by Niels Möller's avatar Niels Möller
Browse files

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

before crashing.

Rev: src/dsa.c:1.29
parent e6f57a05
......@@ -526,7 +526,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