aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_ecdsa.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-09-22 23:13:08 +0200
committerSimon Warta <[email protected]>2015-09-22 23:13:08 +0200
commit1f62dbcd0108a2cd99ad473299e041163a638b1c (patch)
treefb74d95411c5f8c41ca7f409cfc8d36513023363 /src/tests/test_ecdsa.cpp
parentac9689990da914cd58788dab9d5e0d7bebb72e30 (diff)
Avoid concatination of chars
Ever tried? auto str = "some long string"; auto str2 = str + '\n'; It's not with the brainfuck finding the bug.
Diffstat (limited to 'src/tests/test_ecdsa.cpp')
-rw-r--r--src/tests/test_ecdsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_ecdsa.cpp b/src/tests/test_ecdsa.cpp
index 8d385b4bf..3fe9bff5e 100644
--- a/src/tests/test_ecdsa.cpp
+++ b/src/tests/test_ecdsa.cpp
@@ -37,7 +37,7 @@ size_t ecdsa_sig_kat(const std::string& group_id,
PK_Verifier verify(ecdsa, padding);
PK_Signer sign(ecdsa, padding);
- return validate_signature(verify, sign, "ECDSA/" + group_id + '/' + hash,
+ return validate_signature(verify, sign, "ECDSA/" + group_id + "/" + hash,
msg, rng, signature);
}