mirror of
https://github.com/NixOS/nix
synced 2025-06-30 11:43:15 +02:00
parent
00a75b1cd2
commit
02654f782f
6 changed files with 8 additions and 4 deletions
|
@ -37,10 +37,12 @@ SecretKey::SecretKey(const string & s)
|
|||
#endif
|
||||
}
|
||||
|
||||
#if !HAVE_SODIUM
|
||||
[[noreturn]] static void noSodium()
|
||||
{
|
||||
throw Error("Nix was not compiled with libsodium, required for signed binary cache support");
|
||||
}
|
||||
#endif
|
||||
|
||||
std::string SecretKey::signDetached(const std::string & data) const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue