Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c3aaf3b8da1a
Choose a base ref
...
head repository: NixOS/nix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 95cf23ee7c5b
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 10, 2019

  1. Unverified

    The committer email address is not verified.
    Copy the full SHA
    95cf23e View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/nix/verify.cc
4 changes: 2 additions & 2 deletions src/nix/verify.cc
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ struct CmdVerify : StorePathsCommand
bool noContents = false;
bool noTrust = false;
Strings substituterUris;
size_t sigsNeeded;
size_t sigsNeeded = 0;

CmdVerify()
{
@@ -113,7 +113,7 @@ struct CmdVerify : StorePathsCommand
else {

StringSet sigsSeen;
size_t actualSigsNeeded = sigsNeeded ? sigsNeeded : 1;
size_t actualSigsNeeded = std::max(sigsNeeded, (size_t) 1);
size_t validSigs = 0;

auto doSigs = [&](StringSet sigs) {