aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 59fefc276..bd9802d2f 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 9392fe402..a1fb9319d 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 e2a71e6a9..424fab63f 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 0b2da99d7..941a3ddf3 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"