Reorder some operations in sig check for efficiency
commit6e8ca48cbb22c328deab56b1740be04ea7ddba6e
authorDan McGee <dan@archlinux.org>
Wed, 11 Jan 2012 18:04:34 +0000 (11 12:04 -0600)
committerDan McGee <dan@archlinux.org>
Thu, 12 Jan 2012 15:31:09 +0000 (12 09:31 -0600)
treee4944fd3189209df20420816153695b56b8c2f17
parent4f02b98338437b9395addb29000893b91d1ae21e
Reorder some operations in sig check for efficiency

We don't need to open the data to be checked if we don't have a
signature to check against, so postpone that open until we know we have
either the base64_data or a valid signature file.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/signing.c