core: Add closer inspection of "PGP MESSAGE".
authorWerner Koch <wk@gnupg.org>
Thu, 23 Jun 2016 08:14:57 +0000 (10:14 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Jun 2016 08:14:57 +0000 (10:14 +0200)
commitcf37a57d28c43ec36277e84ca44458b7287b940b
tree5c9abdb0e167934ece6689b17a1361fd02530da5
parentf8b8027ae63c957557ed6bdc7e5a30ef1bdd8e77
core: Add closer inspection of "PGP MESSAGE".

* src/data-identify.c (inspect_pgp_message): New.
(basic_detection): Un-const arg DATA. Call inspect_pgp_message.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/data-identify.c