exchange

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

commit 81adb775a12b767f41b30af83fb410e965362834
parent e16dc518d586907898060576a1abfa0879c8dffe
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  5 Jan 2024 15:37:47 +0100

-do not free const strings

Diffstat:
Msrc/util/taler-exchange-secmod-cs.c | 4++--
Msrc/util/taler-exchange-secmod-eddsa.c | 4++--
Msrc/util/taler-exchange-secmod-rsa.c | 4++--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c @@ -345,7 +345,7 @@ static char *keydir; * "donau". The actual configuration section will then be * "$SECTION-exchange-secmod-cs". */ -static char *section = "taler"; +static char *section; /** * How much should coin creation (@e duration_withdraw) duration overlap @@ -2300,7 +2300,7 @@ main (int argc, /* Restrict permissions for the key files that we create. */ (void) umask (S_IWGRP | S_IROTH | S_IWOTH | S_IXOTH); - + section = GNUNET_strdup ("taler"); /* force linker to link against libtalerutil; if we do not do this, the linker may "optimize" libtalerutil away and skip #TALER_OS_init(), which we do need */ diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c @@ -141,7 +141,7 @@ static char *keydir; * "donau". The actual configuration section will then be * "$SECTION-exchange-secmod-cs". */ -static char *section = "taler"; +static char *section; /** * How much should coin creation duration overlap @@ -1175,7 +1175,7 @@ main (int argc, /* Restrict permissions for the key files that we create. */ (void) umask (S_IWGRP | S_IROTH | S_IWOTH | S_IXOTH); - + section = GNUNET_strdup ("taler"); /* force linker to link against libtalerutil; if we do not do this, the linker may "optimize" libtalerutil away and skip #TALER_OS_init(), which we do need */ diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c @@ -312,7 +312,7 @@ static char *keydir; * "donau". The actual configuration section will then be * "$SECTION-exchange-secmod-cs". */ -static char *section = "taler"; +static char *section; /** * How much should coin creation (@e duration_withdraw) duration overlap @@ -2087,7 +2087,7 @@ main (int argc, /* Restrict permissions for the key files that we create. */ (void) umask (S_IWGRP | S_IROTH | S_IWOTH | S_IXOTH); - + section = GNUNET_strdup ("taler"); /* force linker to link against libtalerutil; if we do not do this, the linker may "optimize" libtalerutil away and skip #TALER_OS_init(), which we do need */