aboutsummaryrefslogtreecommitdiff
path: root/include/olm/crypto.hh
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-05-20 15:07:10 +0100
committerRichard van der Hoff <richard@matrix.org>2016-05-20 15:07:10 +0100
commitacae4e84386056e80eb4bb633fcdf03375c087ea (patch)
tree77a488d87eccbbd485cf19126a10082d00f377f1 /include/olm/crypto.hh
parent9ac6ab0f1c8ca1467ef2e3b2c6e51922e08f3746 (diff)
Remove functions which return strings
We don't want anything which does dynamic memory allocation in the library.
Diffstat (limited to 'include/olm/crypto.hh')
-rw-r--r--include/olm/crypto.hh2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/olm/crypto.hh b/include/olm/crypto.hh
index 159bac7..7a05f8d 100644
--- a/include/olm/crypto.hh
+++ b/include/olm/crypto.hh
@@ -17,7 +17,6 @@
#include <cstdint>
#include <cstddef>
-#include <string>
namespace olm {
@@ -27,7 +26,6 @@ static const std::size_t IV_LENGTH = 16;
struct Curve25519PublicKey {
std::uint8_t public_key[KEY_LENGTH];
- std::string to_string() const;
};