diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-20 15:07:10 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-20 15:07:10 +0100 |
commit | acae4e84386056e80eb4bb633fcdf03375c087ea (patch) | |
tree | 77a488d87eccbbd485cf19126a10082d00f377f1 /src | |
parent | 9ac6ab0f1c8ca1467ef2e3b2c6e51922e08f3746 (diff) |
Remove functions which return strings
We don't want anything which does dynamic memory allocation in the library.
Diffstat (limited to 'src')
-rw-r--r-- | src/crypto.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/crypto.cpp b/src/crypto.cpp index 3801e93..da1d617 100644 --- a/src/crypto.cpp +++ b/src/crypto.cpp @@ -101,11 +101,6 @@ inline static void hmac_sha256_final( } // namespace -std::string olm::Curve25519PublicKey::to_string() const { - return olm::bytes_to_string(std::begin(public_key), - std::end(public_key)); -}; - void olm::curve25519_generate_key( std::uint8_t const * random_32_bytes, olm::Curve25519KeyPair & key_pair |