anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 869bb0a8e2a545d2089c2deb7954f369c0ea85bd
parent 776262f575b13d6e0e11a82134bb4c38876f3d8c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 29 Jul 2026 13:08:46 +0200

crypto-tvg: initialise ret for an empty vectors array

Diffstat:
Msrc/util/anastasis-crypto-tvg.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/anastasis-crypto-tvg.c b/src/util/anastasis-crypto-tvg.c @@ -282,7 +282,7 @@ check_vectors () /* array is a JSON array */ size_t index; json_t *value; - int ret; + int ret = GNUNET_OK; /* value if the vectors array is empty */ json_array_foreach (vectors, index, value) { const char *op = json_string_value (json_object_get (value,