aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-17 11:26:19 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-17 11:26:19 +0100
commit6b8c75788710b64eaf1323c9cd95a428c129012d (patch)
tree8633a07a1293c661b9a11d49cc3850404e0055cd /src/util
parent7332403bf0d72c9b1bb17348ef96b91615bcf525 (diff)
downloadexchange-6b8c75788710b64eaf1323c9cd95a428c129012d.tar.xz
towards merging with master
Diffstat (limited to 'src/util')
-rw-r--r--src/util/.gitignore1
-rw-r--r--src/util/Makefile.am13
-rw-r--r--src/util/crypto_helper_denom.c1
-rw-r--r--src/util/crypto_helper_esign.c1
4 files changed, 16 insertions, 0 deletions
diff --git a/src/util/.gitignore b/src/util/.gitignore
index f25567f32..946924dcc 100644
--- a/src/util/.gitignore
+++ b/src/util/.gitignore
@@ -1,5 +1,6 @@
taler-config
test_payto
+taler-crypto-worker
taler-exchange-secmod-rsa
taler-exchange-secmod-eddsa
test_helper_rsa
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 3c9a72646..53b676f85 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -21,6 +21,7 @@ EXTRA_DIST = \
test_helper_rsa.conf
bin_PROGRAMS = \
+ taler-crypto-worker \
taler-exchange-secmod-eddsa \
taler-exchange-secmod-rsa
@@ -58,6 +59,18 @@ taler_exchange_secmod_eddsa_LDADD = \
$(LIBGCRYPT_LIBS) \
$(XLIB)
+taler_crypto_worker_SOURCES = \
+ taler-crypto-worker.c
+taler_crypto_worker_LDADD = \
+ libtalerutil.la \
+ -lgnunetutil \
+ -lgnunetjson \
+ -ljansson \
+ -lpthread \
+ $(LIBGCRYPT_LIBS) \
+ $(XLIB)
+
+
lib_LTLIBRARIES = \
libtalerutil.la
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index 02ac2cb2d..6490184ef 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -86,6 +86,7 @@ do_disconnect (struct TALER_CRYPTO_DenominationHelper *dh)
"unlink",
dh->my_sa.sun_path);
dh->sock = -1;
+ dh->synced = false;
}
diff --git a/src/util/crypto_helper_esign.c b/src/util/crypto_helper_esign.c
index eb0673f28..6257a1d26 100644
--- a/src/util/crypto_helper_esign.c
+++ b/src/util/crypto_helper_esign.c
@@ -81,6 +81,7 @@ do_disconnect (struct TALER_CRYPTO_ExchangeSignHelper *esh)
"unlink",
esh->my_sa.sun_path);
esh->sock = -1;
+ esh->synced = false;
}