diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-13 19:47:51 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2018-10-15 10:11:47 -0400 |
commit | 8c1169f0f57090fe7b715bfb794c8cd72f0236bd (patch) | |
tree | 26e751c5a6ca0bd387745c6702f2ae42978145cc /src/pk.cpp | |
parent | af86a9a8b899eeb3c1c464cb0c54218acd788fa6 (diff) |
use the correct error code
Diffstat (limited to 'src/pk.cpp')
-rw-r--r-- | src/pk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ size_t olm_pk_encryption_set_recipient_key ( ) { if (key_length < olm_pk_key_length()) { encryption->last_error = - OlmErrorCode::OLM_OUTPUT_BUFFER_TOO_SMALL; // FIXME: + OlmErrorCode::OLM_INPUT_BUFFER_TOO_SMALL; return std::size_t(-1); } olm::decode_base64( |