[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: fix encrypt
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: fix encrypt |
Date: |
Mon, 30 Mar 2020 10:43:09 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new 563a494 fix encrypt
563a494 is described below
commit 563a49480333757b7ff3a0a55bbf2f322ec5766c
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Mar 30 10:43:06 2020 +0200
fix encrypt
---
src/util/anastasis_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/anastasis_crypto.c b/src/util/anastasis_crypto.c
index 3ebddd2..353e7f5 100644
--- a/src/util/anastasis_crypto.c
+++ b/src/util/anastasis_crypto.c
@@ -106,7 +106,7 @@ anastasis_encrypt (const void *msec,
char *ciphertext;
GNUNET_assert (res_size == data_size + sizeof (*nonce) + sizeof (*tag));
- nonce = (struct ANASTASIS_CRYPTO_Nonce*) *res;
+ nonce = (struct ANASTASIS_CRYPTO_Nonce*) res;
tag = (struct ANASTASIS_CRYPTO_AesTag *) &nonce[1];
ciphertext = (char *) &tag[1];
GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_NONCE,
--
To stop receiving notification emails like this one, please contact
address@hidden.