summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-03 17:52:16 +0200
committerDan McGee <dan@archlinux.org>2011-10-12 21:20:47 +0200
commit2a18171afa9ba8acf1123355f252b1189aefeeeb (patch)
treea44468c6b6d2a28fae8310a2bc1f29df102bf6ab /scripts
parent61c6ae01b3315c5db38ef5d313ac6f0b75fe2209 (diff)
downloadpacman-2a18171afa9ba8acf1123355f252b1189aefeeeb.tar.gz
pacman-2a18171afa9ba8acf1123355f252b1189aefeeeb.tar.xz
signing: delay gpgme_init() until latest possible moment
In the default configuration, we can enter the signing code but still have nothing to do with GPGME- for example, if database signatures are optional but none are present. Delay initialization of GPGME until we know there is a signature file present or we were passed base64-encoded data. This also makes debugging with valgrind a lot easier as you don't have to deal with all the GPGME error noise because their code leaks like a sieve. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions