exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 345c091a0d46fca79e2e01f9aee6b3dc3012dc4f
parent aa445fd061a4fea4ecb4bd9d73ced44a15dfa3de
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Tue, 10 Oct 2023 18:23:22 +0200

-fix stupid crash bug

Diffstat:
Msrc/exchange/taler-exchange-httpd_keys.c | 2+-
Msrc/util/paths.conf | 6+++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c @@ -2801,7 +2801,7 @@ append_signature (struct SignatureContext *sig_ctx, if (0 == sig_ctx->elements_size) new_size = 1024; else - new_size = sig_ctx->elements_size; + new_size = sig_ctx->elements_size * 2; GNUNET_array_grow (sig_ctx->elements, sig_ctx->elements_size, new_size); diff --git a/src/util/paths.conf b/src/util/paths.conf @@ -17,13 +17,13 @@ TALER_HOME = ${TALER_TEST_HOME:-${HOME:-${USERPROFILE}}} # for how these should be used. # Persistent data storage -TALER_DATA_HOME = ${TALER_TEST_HOME:-${XDG_DATA_HOME:-${TALER_HOME}/.local/share/}/.local/share/}taler/ +TALER_DATA_HOME = ${TALER_TEST_HOME:-${XDG_DATA_HOME:-${TALER_HOME}}}/.local/share/taler/ # Configuration files -TALER_CONFIG_HOME = ${TALER_TEST_HOME:-${XDG_CONFIG_HOME:-${TALER_HOME}/.config/}/.config/}taler/ +TALER_CONFIG_HOME = ${TALER_TEST_HOME:-${XDG_CONFIG_HOME:-${TALER_HOME}}}/.config/taler/ # Cached data, no big deal if lost -TALER_CACHE_HOME = ${TALER_TEST_HOME:-${XDG_CACHE_HOME:-${TALER_HOME}/.cache/}/.cache/}taler/ +TALER_CACHE_HOME = ${TALER_TEST_HOME:-${XDG_CACHE_HOME:-${TALER_HOME}}}/.cache/taler/ # Runtime data (always lost on system boot) TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime/