about summary refs log tree commit diff
path: root/src/libstore/crypto.hh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-15T11·11+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-15T11·11+0100
commit02654f782f31d142f59af23d4a10dcf9134a7ff2 (patch)
tree18739a6a41a3cc01ac94fb867554496d1be69f69 /src/libstore/crypto.hh
parent00a75b1cd281e85843cae5da5d605f6e3bc733f1 (diff)
Fix Darwin build
http://hydra.nixos.org/build/33279996
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 33b79cb2e8fe..38d5fe2a80c6 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;