diff options
author | Michael Vogt <mvo@debian.org> | 2006-01-06 00:02:14 +0000 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2006-01-06 00:02:14 +0000 |
commit | ce424cd4464ce46706046d581e05fbf292a54881 (patch) | |
tree | 9a7947bff875e32633b423c8d5a3448ef451e766 /methods | |
parent | d4ef73fbc21241252917c551f60f686dcd5c2e1f (diff) |
* support multiple signatures
Diffstat (limited to 'methods')
-rw-r--r-- | methods/gpgv.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc index 5cb154f66..a114ad797 100644 --- a/methods/gpgv.cc +++ b/methods/gpgv.cc @@ -247,7 +247,11 @@ bool GPGVMethod::Fetch(FetchItem *Itm) errmsg += (*I + "\n"); } } - return _error->Error(errmsg.c_str()); + // this is only fatal if we have no good sigs or if we have at + // least one bad signature. good signatures and NoPubKey signatures + // happen easily when a file is signed with multiple signatures + if(GoodSigners.empty() or !BadSigners.empty()) + return _error->Error(errmsg.c_str()); } // Transfer the modification times |