about summary refs log tree commit diff
path: root/src/libstore/crypto.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/crypto.hh')
-rw-r--r--src/libstore/crypto.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/crypto.hh b/src/libstore/crypto.hh
index 33b79cb2e8..38d5fe2a80 100644
--- a/src/libstore/crypto.hh
+++ b/src/libstore/crypto.hh
@@ -39,7 +39,7 @@ struct PublicKey : Key
 private:
     PublicKey(const std::string & name, const std::string & key)
         : Key(name, key) { }
-    friend class SecretKey;
+    friend struct SecretKey;
 };
 
 typedef std::map<std::string, PublicKey> PublicKeys;