aboutsummaryrefslogtreecommitdiff
path: root/include/olm
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2019-09-30 13:19:23 +0100
committerDavid Baker <dave@matrix.org>2019-09-30 13:19:23 +0100
commitb83a0c0992217b47848d3da00215503f4b65bd0a (patch)
tree719ba60dd7860eace878bcbf286413253294ec72 /include/olm
parent57b6839c2574c9bcfd0ba2e1bef4996e07fc8045 (diff)
Fix comment and also js build
The python that searches the header files for exports isn't smart enough to know what is a comment and what isn't, so it picks this up too and emscripten then complains about it being undefined.
Diffstat (limited to 'include/olm')
-rw-r--r--include/olm/pk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/olm/pk.h b/include/olm/pk.h
index b51033c..d6476f2 100644
--- a/include/olm/pk.h
+++ b/include/olm/pk.h
@@ -152,7 +152,7 @@ size_t olm_pickle_pk_decryption_length(
/** Stores decryption object as a base64 string. Encrypts the object using the
* supplied key. Returns the length of the pickled object on success.
* Returns olm_error() on failure. If the pickle output buffer
- * is smaller than olm_pickle_decryption_length() then
+ * is smaller than olm_pickle_pk_decryption_length() then
* olm_pk_decryption_last_error() will be "OUTPUT_BUFFER_TOO_SMALL" */
size_t olm_pickle_pk_decryption(
OlmPkDecryption * decryption,