]> git.tue.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>
Thu, 16 May 2024 23:36:55 +0000 (01:36 +0200)
commite15f70f41d691fc1e6cc82fb398429cdb3444342
tree785430520f8b15e2c6eeb2a67c286dc9def9c745
parent84b145f3783f4740c7aa4e223e39aad51e3dec33
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