mirror of https://github.com/oxen-io/lokinet
const correctness
This commit is contained in:
parent
afd87eedb4
commit
9153f726c5
|
@ -243,8 +243,8 @@ TEST_F(RealCryptographyTest, TestSignUsingDerivedKey)
|
|||
PubKey Aprime; // A'
|
||||
crypto->derive_subkey(Aprime, A, 1);
|
||||
|
||||
std::string dummystr = "Jeff loves one-letter variable names.";
|
||||
llarp_buffer_t buf(dummystr.data(), dummystr.size());
|
||||
const std::string s = "Jeff loves one-letter variable names.";
|
||||
llarp_buffer_t buf(s.data(), s.size());
|
||||
|
||||
Signature sig;
|
||||
ASSERT_TRUE(crypto->sign(sig, aprime, buf));
|
||||
|
|
Loading…
Reference in New Issue