summaryrefslogtreecommitdiff
path: root/src/util/taler-exchange-secmod-rsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-05 15:37:47 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-05 15:37:47 +0100
commit81adb775a12b767f41b30af83fb410e965362834 (patch)
treee1487eb4a38f32f8e2fc2a0826044dbf155778f2 /src/util/taler-exchange-secmod-rsa.c
parente16dc518d586907898060576a1abfa0879c8dffe (diff)
downloadexchange-81adb775a12b767f41b30af83fb410e965362834.tar.gz
exchange-81adb775a12b767f41b30af83fb410e965362834.tar.bz2
exchange-81adb775a12b767f41b30af83fb410e965362834.zip
-do not free const strings
Diffstat (limited to 'src/util/taler-exchange-secmod-rsa.c')
-rw-r--r--src/util/taler-exchange-secmod-rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c
index a68876203..57bf69d04 100644
--- 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 */