exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 6006b63c66c7d146aa1fb0bdbe59d665cf6a6fac
parent 31bfe5234e9f1031306ce7cfae9a8a3fee5aa304
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  1 Aug 2022 11:02:25 +0200

-set RD_ONLY flag

Diffstat:
Msrc/util/taler-exchange-secmod-cs.c | 2+-
Msrc/util/taler-exchange-secmod-eddsa.c | 2+-
Msrc/util/taler-exchange-secmod-rsa.c | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c @@ -1213,7 +1213,7 @@ import_key (void *cls, } fd = open (filename, - O_CLOEXEC); + O_RDONLY | O_CLOEXEC); if (-1 == fd) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c @@ -904,7 +904,7 @@ import_key (void *cls, } fd = open (filename, - O_CLOEXEC); + O_RDONLY | O_CLOEXEC); if (-1 == fd) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c @@ -1623,7 +1623,7 @@ import_key (void *cls, } fd = open (filename, - O_CLOEXEC); + O_RDONLY | O_CLOEXEC); if (-1 == fd) { GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING,