]> git.tuebingen.mpg.de Git - paraslash.git/commit
apc_priv_decrypt: Let the callee allocate the buffer.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 7 May 2023 16:01:43 +0000 (18:01 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 17 Mar 2024 11:35:04 +0000 (12:35 +0100)
commita6cfb20c2c38f11430e950732e8f9e7b595449a7
tree79956164ade1e2e2e80add877d1b75f35bbef877
parentc9d82ed7bf01e5fb21e530ba819915a984e9efc4
apc_priv_decrypt: Let the callee allocate the buffer.

This complements the previous commit which made the analogous
change for public encryption. Passing char ** instead of char * to
apc_priv_decrypt() allows us to get rid of the magic 1024 constant
in client_common.c.
client_common.c
crypt.h
gcrypt.c
openssl.c