summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-14 15:47:02 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-14 15:47:02 +0200
commitab96483e01698c5d8800b83e8e8541f914551d55 (patch)
treecd636e19b420589e96e7fb1f8b8136cf1a9e5815 /src
parent5f268913ddfac25f8d16c3216bba23535e2bd798 (diff)
downloadexchange-ab96483e01698c5d8800b83e8e8541f914551d55.tar.gz
exchange-ab96483e01698c5d8800b83e8e8541f914551d55.tar.bz2
exchange-ab96483e01698c5d8800b83e8e8541f914551d55.zip
disable gettext use in secmod code (#6862)
Diffstat (limited to 'src')
-rw-r--r--src/util/crypto_helper_denom.c2
-rw-r--r--src/util/crypto_helper_esign.c2
-rw-r--r--src/util/taler-exchange-secmod-eddsa.c3
-rw-r--r--src/util/taler-exchange-secmod-rsa.c3
4 files changed, 8 insertions, 2 deletions
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index 59fefc27..bd9802d2 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -535,7 +535,7 @@ TALER_CRYPTO_helper_denom_sign (
buf,
sizeof (buf),
0,
- &dh->sa,
+ (const struct sockaddr *) &dh->sa,
sizeof (dh->sa));
if (ret < 0)
{
diff --git a/src/util/crypto_helper_esign.c b/src/util/crypto_helper_esign.c
index 9392fe40..a1fb9319 100644
--- a/src/util/crypto_helper_esign.c
+++ b/src/util/crypto_helper_esign.c
@@ -485,7 +485,7 @@ TALER_CRYPTO_helper_esign_sign_ (
buf,
sizeof (buf),
0,
- &esh->sa,
+ (const struct sockaddr *) &esh->sa,
sizeof (esh->sa));
if (ret < 0)
{
diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c
index e2a71e6a..424fab63 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -32,6 +32,9 @@
* private key. This is done by reference counting (as work is always
* assigned and collected by the main thread).
*/
+#include "taler_config.h"
+#define HAVE_USED_CONFIG_H
+#undef ENABLE_NLS
#include "platform.h"
#include "taler_util.h"
#include "taler-exchange-secmod-eddsa.h"
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c
index 0b2da99d..941a3ddf 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -32,6 +32,9 @@
* private key. This is done by reference counting (as work is always
* assigned and collected by the main thread).
*/
+#include "taler_config.h"
+#define HAVE_USED_CONFIG_H
+#undef ENABLE_NLS
#include "platform.h"
#include "taler_util.h"
#include "taler-exchange-secmod-rsa.h"