g10: Fix segfault on unsupported curve.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 26 Jan 2016 02:12:33 +0000 (11:12 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 26 Jan 2016 02:12:33 +0000 (11:12 +0900)
commitb8bb16c6c08d3c2947f1ff67419b36eb203c5c1a
tree6d7f630277dd60b7d0a42fe2ed0628e4f49a46e4
parentd33a34004bef028068538f099c32a0e292a004c3
g10: Fix segfault on unsupported curve.

* g10/call-agent.c (learn_status_cb): Don't use NULL for strcmp.
--

With libgcrypt not supporting cv25519, gpg segfaults.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/call-agent.c