]> git.tuebingen.mpg.de Git - paraslash.git/commit
base64: Saner semantics for base64_decode() and uudecode().
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Apr 2015 21:41:00 +0000 (23:41 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 23 Aug 2016 14:32:12 +0000 (16:32 +0200)
commit35fcd604e2ec04f8667c85fa1552932b1a0e6efb
treec3a65e0e4723aea07a7d973d059df824c9bf5f3e
parent3ea5399aeec092dcdb9f039288f1e146aadbb2f7
base64: Saner semantics for base64_decode() and uudecode().

Currently the callers of these functions must allocate a suitably
sized buffer for the decoded data. It is easier to let the decoders
allocate the result buffer, as implemented in this commit. The callers
in crypt.c and gcrypt.c are adjusted accordingly.
base64.c
base64.h
crypt.c
gcrypt.c