Only bother allocating a pgpDig when needed
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Oct 2011 10:06:28 +0000 (13:06 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 6 Oct 2011 10:06:28 +0000 (13:06 +0300)
commitd7041cc8a0455346446f435bf1b305c56f3e7241
treef56321a7246445b67f68085fc3b413a03866d7d1
parenta2e59180274cc6f928b188da0e7211d01c421883
Only bother allocating a pgpDig when needed

- Now that rpmVerifySignature() doesn't require a non-null dig
  for digests, don't bother allocating one unless necessary.
- pgpNewDig() cannot fail so dont bother checking.
lib/package.c