aboutsummaryrefslogtreecommitdiff
path: root/include/olm
diff options
context:
space:
mode:
Diffstat (limited to 'include/olm')
-rw-r--r--include/olm/olm.h2
-rw-r--r--include/olm/pk.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/olm/olm.h b/include/olm/olm.h
index 0722d79..61ea07b 100644
--- a/include/olm/olm.h
+++ b/include/olm/olm.h
@@ -435,7 +435,7 @@ size_t olm_sha256(
);
/** Verify an ed25519 signature. If the key was too small then
- * olm_session_last_error will be "INVALID_BASE64". If the signature was invalid
+ * olm_utility_last_error() will be "INVALID_BASE64". If the signature was invalid
* then olm_utility_last_error() will be "BAD_MESSAGE_MAC". */
size_t olm_ed25519_verify(
OlmUtility * utility,
diff --git a/include/olm/pk.h b/include/olm/pk.h
index d41aa72..b51033c 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_account_length() then
+ * is smaller than olm_pickle_decryption_length() then
* olm_pk_decryption_last_error() will be "OUTPUT_BUFFER_TOO_SMALL" */
size_t olm_pickle_pk_decryption(
OlmPkDecryption * decryption,