diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-05 15:37:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-05 15:37:47 +0100 |
commit | 81adb775a12b767f41b30af83fb410e965362834 (patch) | |
tree | e1487eb4a38f32f8e2fc2a0826044dbf155778f2 /src/util/taler-exchange-secmod-eddsa.c | |
parent | e16dc518d586907898060576a1abfa0879c8dffe (diff) | |
download | exchange-81adb775a12b767f41b30af83fb410e965362834.tar.xz |
-do not free const strings
Diffstat (limited to 'src/util/taler-exchange-secmod-eddsa.c')
-rw-r--r-- | src/util/taler-exchange-secmod-eddsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c index da4429edc..1be4f7b49 100644 --- 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 */ |