const correctness

This commit is contained in:
Jeff Becker 2020-01-31 14:38:38 -05:00 committed by Jason Rhinelander
parent afd87eedb4
commit 9153f726c5
1 changed files with 2 additions and 2 deletions

View File

@ -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));