chiark / gitweb /
journal-gatewayd: check if certificate is signed by CA
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 1 Dec 2012 10:12:05 +0000 (11:12 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 17 Mar 2014 05:55:48 +0000 (01:55 -0400)
commitf12be7e8ca278a5a207d0fd051acec700b804a7a
tree356aff1c1330d60be79358fe668b4f88b4304a11
parentcafc7f91306ea17ace4a6c3d76d81c8780c87452
journal-gatewayd: check if certificate is signed by CA

If --trust=ca.crt is used, only clients presenting certificates signed
by the ca will be allowed to proceed. No hostname matching is
performed, so any client wielding a signed certificate will be
authorized.

Error functions are moved from journal-gateway to microhttp-util and
made non-static, since now they are used in two source files.
configure.ac
src/journal/journal-gatewayd.c
src/journal/microhttpd-util.c
src/journal/microhttpd-util.h