about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/crypto.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libstore/crypto.hh')
-rw-r--r--third_party/nix/src/libstore/crypto.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/crypto.hh b/third_party/nix/src/libstore/crypto.hh
index 637099231d..ef578db6d0 100644
--- a/third_party/nix/src/libstore/crypto.hh
+++ b/third_party/nix/src/libstore/crypto.hh
@@ -24,13 +24,13 @@ struct SecretKey : Key {
   SecretKey(const std::string& s);
 
   /* Return a detached signature of the given string. */
-  std::string signDetached(const std::string& s) const;
+  std::string signDetached(const std::string& data) const;
 
   PublicKey toPublicKey() const;
 };
 
 struct PublicKey : Key {
-  PublicKey(const std::string& data);
+  PublicKey(const std::string& s);
 
  private:
   PublicKey(const std::string& name, const std::string& key) : Key(name, key) {}