[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -do not free const strings
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -do not free const strings |
Date: |
Fri, 05 Jan 2024 15:37:50 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 81adb775 -do not free const strings
81adb775 is described below
commit 81adb775a12b767f41b30af83fb410e965362834
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 5 15:37:47 2024 +0100
-do not free const strings
---
src/util/taler-exchange-secmod-cs.c | 4 ++--
src/util/taler-exchange-secmod-eddsa.c | 4 ++--
src/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
index a823c692..fbd5aa25 100644
--- 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
index da4429ed..1be4f7b4 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 */
diff --git a/src/util/taler-exchange-secmod-rsa.c
b/src/util/taler-exchange-secmod-rsa.c
index a6887620..57bf69d0 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 */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -do not free const strings,
gnunet <=