Allow the use of a private-key s-expression with gcry_pk_verify.
authorWerner Koch <wk@gnupg.org>
Fri, 26 Jul 2013 17:22:36 +0000 (19:22 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 26 Jul 2013 17:22:36 +0000 (19:22 +0200)
commitb72d312ad11887fc416aa821786f6bdb663c0f4a
tree0f4707d16bef3ed4fb91864d689c8288d0c65198
parent287bf0e543f244d784cf8b58340bf0ab3c6aba97
Allow the use of a private-key s-expression with gcry_pk_verify.

* cipher/pubkey.c (sexp_to_key): Fallback to private key.

Signed-off-by: Werner Koch <wk@gnupg.org>
cipher/pubkey.c