dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit 849566c399cdd0731d73e95cec8f9baade215419
parent 9f54a917ef6c2f8f850684bed77fa708a062ca33
Author: sin <sin@2f30.org>
Date:   Sun,  5 May 2019 17:05:28 +0100

Fix comment

Diffstat:
Mbencrypt.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/bencrypt.c b/bencrypt.c @@ -262,6 +262,8 @@ beget(struct bctx *bctx, unsigned char *md, void *buf, size_t *n) /* Calculate maximum size of encrypted block */ size = EDSIZE + *n + crypto_aead_xchacha20poly1305_ietf_ABYTES; + + /* Allocate buffer to store encrypted block */ ebuf = malloc(size); if (ebuf == NULL) { bseterr("malloc: %s", strerror(errno));