about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-04-13T13·42+0200
committerEelco Dolstra <edolstra@gmail.com>2018-04-13T13·42+0200
commitd34fa2bcc3572fafc893755cee19d97aed7ec649 (patch)
tree3e26bf914dcf666546316602f2b4e8ac56c4890c /src/libstore/build.cc
parent4fd28bee89a91230ed00fbe842ed51c289f89bd0 (diff)
Fix #1921
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 73139d6d551a..122a754e1e1d 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3687,7 +3687,7 @@ void SubstitutionGoal::tryNext()
        only after we've downloaded the path. */
     if (worker.store.requireSigs
         && !sub->isTrusted
-        && !info->checkSignatures(worker.store, worker.store.publicKeys))
+        && !info->checkSignatures(worker.store, worker.store.getPublicKeys()))
     {
         printError("warning: substituter '%s' does not have a valid signature for path '%s'",
             sub->getUri(), storePath);