exchange

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

commit ad40c233907a8b1c707ab9ae476a3e6d66c7aa6c
parent bf0ee981ff25022b39883d327582e027b8f8c17a
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 26 Apr 2016 14:16:35 +0200

check_permissions for AF_UNIX

Diffstat:
Msrc/exchange/taler-exchange-httpd_admin.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_admin.c b/src/exchange/taler-exchange-httpd_admin.c @@ -54,6 +54,9 @@ check_permissions (struct MHD_Connection *connection) addr = ci->client_addr; switch (addr->sa_family) { + case AF_UNIX: + /* We rely on file system permissions here */ + return GNUNET_YES; case AF_INET: { const struct sockaddr_in *sin = (const struct sockaddr_in *) addr;