Eliminate some redundancy in signature sanity checking
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 29 Sep 2010 13:05:07 +0000 (16:05 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 29 Sep 2010 13:11:34 +0000 (16:11 +0300)
commita6899e30d992ee8fbdf13bdd93688d95db210320
tree2a5a702f47bd83dcbec415962d336c9aab9305ad
parent1e63ce20bd9677f4a8f964364f9845ebff7b0c24
Eliminate some redundancy in signature sanity checking
- Combine validation + actual insertion to header: rename validatePGPSig()
  to putSignature() and move the details of parsing gpg generated
  packet, validating them and finally inserting to header in there.
- The signature generation code is mostly now in reasonably sized
  chunks, although there's room for further sanity here - the call
  chain is ridiculously long.
lib/rpmgensig.c