core: Fix ERR_INV_ARG check in genkey_start
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 7 Dec 2018 09:43:58 +0000 (10:43 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 7 Dec 2018 09:43:58 +0000 (10:43 +0100)
commit78f6291a3bf56769f53af66fe39718ddd2d74bf2
tree903cea9af66431a0b30fec1c24bbcbc51df7af26
parentad030234b4b50f1152731a17c54a53be2f2e0c25
core: Fix ERR_INV_ARG check in genkey_start

* src/genkey.c (gpgme_op_genkey_start): Fix check for
parms.

--
This fixes a regression introduced by:
174af15725d4989a840ff3098996cc8a0568f724

So that the error was triggered by usual args.

GnuPG-Bug-Id: T4265
src/genkey.c