core: Fix identify for armored detached sigs
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 1 Jul 2016 08:56:57 +0000 (10:56 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 1 Jul 2016 08:56:57 +0000 (10:56 +0200)
commit570bf2a648f14b34c4c45d3890b7300529a82d37
tree88dd83af4d7ef565c3fa8e0fb43ae0b6a0c0a7c7
parent62d10c2a38160ef539a784b96960a6b5e3d8d6b6
core: Fix identify for armored detached sigs

* src/data-identify.c (basic_detection): Return signature for
signature.

--
This causes identify to return signature for both binary and
ascii armored detached signatures where previously it would
have returned signed for armored signatures and signature for
binary signatures.

GnuPG-Bug-Id: 2314
src/data-identify.c