diff options
author | aunsane <aunsane@gmail.com> | 2017-11-26 17:52:59 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-11-26 17:53:18 +0300 |
commit | 58af0f18891fe0f7cfe10e6998ce365fb5d20d55 (patch) | |
tree | 9db167d2524cfde8c34400bbd3bae46de01f85fc /protocols/Tox/include/toxencryptsave.h | |
parent | 8cce73a0d33d76d57faecdf138793255a83426cb (diff) |
Tox: updated libtox
Diffstat (limited to 'protocols/Tox/include/toxencryptsave.h')
-rw-r--r-- | protocols/Tox/include/toxencryptsave.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Tox/include/toxencryptsave.h b/protocols/Tox/include/toxencryptsave.h index ef28f622e8..738d9757cb 100644 --- a/protocols/Tox/include/toxencryptsave.h +++ b/protocols/Tox/include/toxencryptsave.h @@ -355,6 +355,8 @@ typedef enum TOX_ERR_GET_SALT { * If the passed byte arrays are smaller than required, the behaviour is * undefined. * + * If the cipher text pointer or the salt is NULL, this function returns false. + * * Success does not say anything about the validity of the data, only that * data of the appropriate size was copied. * @@ -372,7 +374,7 @@ bool tox_get_salt(const uint8_t *ciphertext, uint8_t *salt, TOX_ERR_GET_SALT *er * If the passed byte array is smaller than required, the behaviour is * undefined. * - * If the cipher text pointer is NULL, this function returns false. + * If the data pointer is NULL, the behaviour is undefined * * @return true if the data is encrypted by this module. */ |