diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-12 16:41:47 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-12 16:41:47 +0100 |
commit | e9027b2910c0ad903b0e6a88e4a4004a128f0630 (patch) | |
tree | a849a3122f13965a3685bed02e89bbacfca9c08b /libar2.h | |
parent | Add man pages, readme, and nonnull attributes and fix documentation typos (diff) | |
download | libar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.gz libar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.bz2 libar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.xz |
libar2_encode_base64: data may be NULL if buf is NULL
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libar2.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -543,7 +543,8 @@ size_t libar2_encode_params(char *buf, const struct libar2_argon2_parameters *pa * to a length divible by 4 * * @param buf Output buffer, or `NULL` - * @param data The data to encode + * @param data The data to encode, may be + * `NULL` if `buf` is `NULL` * @param len The number of bytes in `data` * @return The number of bytes required for `buf`, * including the NUL byte added to the end |