diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-03T13·11+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-04T09·01+0200 |
commit | f435f8247553656774dd1b2c88e9de5d59cab203 (patch) | |
tree | 550a54804dbc4e926dacc8e6dafc400a353a70b8 /src/libstore/store-api.hh | |
parent | dfebfc835f7b8156a559314bcd1ecff739c14fd1 (diff) |
Remove OpenSSL-based signing
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 099aa1d67b68..95ad5136d965 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -270,21 +270,18 @@ public: virtual void narFromPath(const Path & path, Sink & sink) = 0; /* Export a store path, that is, create a NAR dump of the store - path and append its references and its deriver. Optionally, a - cryptographic signature (created by OpenSSL) of the preceding - data is attached. */ - virtual void exportPath(const Path & path, bool sign, - Sink & sink) = 0; + path and append its references and its deriver. */ + virtual void exportPath(const Path & path, Sink & sink) = 0; /* Export multiple paths in the format expected by ‘nix-store --import’. */ - void exportPaths(const Paths & paths, bool sign, Sink & sink); + void exportPaths(const Paths & paths, Sink & sink); /* Import a sequence of NAR dumps created by exportPaths() into the Nix store. Optionally, the contents of the NARs are preloaded into the specified FS accessor to speed up subsequent access. */ - virtual Paths importPaths(bool requireSignature, Source & source, + virtual Paths importPaths(Source & source, std::shared_ptr<FSAccessor> accessor) = 0; /* For each path, if it's a derivation, build it. Building a |