mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 15:40:59 +01:00
Merge pull request #13742 from xokdvium/fix-i686
libutil: Fix i686-linux build on clangStdenv
This commit is contained in:
commit
68839b9545
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ std::string SecretKey::signDetached(std::string_view data) const
|
|||
unsigned char sig[crypto_sign_BYTES];
|
||||
unsigned long long sigLen;
|
||||
crypto_sign_detached(sig, &sigLen, (unsigned char *) data.data(), data.size(), (unsigned char *) key.data());
|
||||
return name + ":" + base64::encode(std::as_bytes(std::span<const unsigned char>{sig, sigLen}));
|
||||
return name + ":" + base64::encode(std::as_bytes(std::span<const unsigned char>(sig, sigLen)));
|
||||
}
|
||||
|
||||
PublicKey SecretKey::toPublicKey() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue