From bcb05d1a9982c0a22e41ecfa6f9aba212587c782 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 11 Jun 2015 16:10:55 +0100 Subject: rename Session to Ratchet --- tests/test_ratchet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_ratchet.cpp b/tests/test_ratchet.cpp index 18c22e3..e262bfa 100644 --- a/tests/test_ratchet.cpp +++ b/tests/test_ratchet.cpp @@ -41,8 +41,8 @@ std::uint8_t shared_secret[] = "A secret"; { /* Send/Receive test case */ TestCase test_case("Axolotl Send/Receive"); -axolotl::Session alice(kdf_info, cipher); -axolotl::Session bob(kdf_info, cipher); +axolotl::Ratchet alice(kdf_info, cipher); +axolotl::Ratchet bob(kdf_info, cipher); alice.initialise_as_bob(shared_secret, sizeof(shared_secret) - 1, bob_key); bob.initialise_as_alice(shared_secret, sizeof(shared_secret) - 1, bob_key); @@ -110,8 +110,8 @@ std::size_t encrypt_length, decrypt_length; TestCase test_case("Axolotl Out of Order"); -axolotl::Session alice(kdf_info, cipher); -axolotl::Session bob(kdf_info, cipher); +axolotl::Ratchet alice(kdf_info, cipher); +axolotl::Ratchet bob(kdf_info, cipher); alice.initialise_as_bob(shared_secret, sizeof(shared_secret) - 1, bob_key); bob.initialise_as_alice(shared_secret, sizeof(shared_secret) - 1, bob_key); -- cgit v1.2.3