tMake tag and uint8_t in secret_encrypt() - safe - password protected secret keeper
 (HTM) git clone git://git.z3bra.org/safe.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d89c6fc699fd695b5b7c6e000392da6a88f6e2b2
 (DIR) parent f9cce62c8b24ac4fb7f6d28ae6085b345081e4ca
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue,  4 Jun 2019 14:51:12 +0200
       
       Make tag and uint8_t in secret_encrypt()
       
       Diffstat:
         M safe.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/safe.c b/safe.c
       t@@ -129,7 +129,7 @@ xwrite(int fd, const void *buf, size_t nbytes)
        int
        secret_encrypt(struct safe *s, uint8_t *m, size_t mlen, uint8_t *c, unsigned long long *clen, int flags)
        {
       -        int tag = 0;
       +        uint8_t tag = 0;
        
                if (flags & SAFE_INIT)
                        if (crypto_secretstream_xchacha20poly1305_init_push(&s->st, s->h, s->key))