aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2018-10-02 10:04:14 +0100
committerGitHub <noreply@github.com>2018-10-02 10:04:14 +0100
commit04f58bb0c90c7656f54d3aa5bb0bf067c60db23c (patch)
treec88c56c1f5405742a60c3879df74cdfdb2d8b174
parent8f6e0557eeb3afe1088ce1abfc7351eb697eea24 (diff)
parent2835110cee6c9a47b869a13c069d07d9ed9b2833 (diff)
Merge pull request #59 from matrix-org/dbkr/fix_trailing_newlines
Remove trailing letter 'K's from the test pubkeys
-rw-r--r--tests/test_pk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pk.cpp b/tests/test_pk.cpp
index ab1f477..ee12603 100644
--- a/tests/test_pk.cpp
+++ b/tests/test_pk.cpp
@@ -23,7 +23,7 @@ std::uint8_t alice_private[32] = {
0xB1, 0x77, 0xFB, 0xA5, 0x1D, 0xB9, 0x2C, 0x2A
};
-const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmoK";
+const std::uint8_t *alice_public = (std::uint8_t *) "hSDwCYkwp1R0i33ctD73Wg2/Og0mOBr066SpjqqbTmo";
std::uint8_t bob_private[32] = {
0x5D, 0xAB, 0x08, 0x7E, 0x62, 0x4A, 0x8A, 0x4B,
@@ -32,7 +32,7 @@ std::uint8_t bob_private[32] = {
0x1C, 0x2F, 0x8B, 0x27, 0xFF, 0x88, 0xE0, 0xEB
};
-const std::uint8_t *bob_public = (std::uint8_t *) "3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08K";
+const std::uint8_t *bob_public = (std::uint8_t *) "3p7bfXt9wbTTW2HC7OQ1Nz+DQ8hbeGdNrfx+FG+IK08";
std::uint8_t pubkey[::olm_pk_key_length()];