Retrieve default SigLevel value from backend after initial setting
commita8a4395098b4ddced5204b386e476565e68508b5
authorDan McGee <dan@archlinux.org>
Tue, 23 Aug 2011 06:05:02 +0000 (23 01:05 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 23 Aug 2011 06:06:56 +0000 (23 01:06 -0500)
treefe35d8fe2031e1ef9a5fa3881a75cecbe0184108
parent6731d0a9407e00f755d237e889c2e3f5db9cd276
Retrieve default SigLevel value from backend after initial setting

This ensures we grab and use the library default once we have processed
the global SigLevel setting, but before processing the repo-specific
settings. This means the following two configs will now evaluate the
same, as the backend currently defaults to 'Optional':

Config 1:
    [options]
    # nothing here
    [repo]
    SigLevel = TrustAll

Config 2:
    [options]
    SigLevel = Optional
    [repo]
    SigLevel = TrustAll

Signed-off-by: Dan McGee <dan@archlinux.org>
src/pacman/conf.c