Fix missing error on --import on bogus key file (RhBug:869667)
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 30 Oct 2012 07:29:46 +0000 (09:29 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 30 Oct 2012 07:29:46 +0000 (09:29 +0200)
commit0b9c93ed18a11818a2f3645431a338bdc3f1fc81
tree216ad03b76ebf01a79982d76afc0a1efeb1558da
parent6db697526b1c3bb72678c83c01abcdb0a26244b5
Fix missing error on --import on bogus key file (RhBug:869667)

- When the "BEGIN PGP" marker is not found at all, we would silently
  exit with success when trying to import utter garbage, such as
  rpmkeys --import /bin/bash (not that I consider bash as gargabe ;)
lib/rpmchecksig.c