MINOR: ssl: Add payload support to "set ssl ocsp-response"
authorAurélien Nephtali <aurelien.nephtali@corp.ovh.com>
Wed, 18 Apr 2018 12:04:58 +0000 (14:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2018 12:20:09 +0000 (14:20 +0200)
commit1e0867cfbc5bd6ec028a5c8eaa4386b2a402eb37
tree41be8998cc16e97288028a14c9cd917ce5e5c492
parent25650ce5139ba5e8552930a1cc0c0c5c45e9e4d1
MINOR: ssl: Add payload support to "set ssl ocsp-response"

It is now possible to use a payload with the "set ssl ocsp-response"
command.  These syntaxes will work the same way:

 # echo "set ssl ocsp-response $(base64 -w 10000 ocsp.der)" | \
     socat /tmp/sock1 -

 # echo -e "set ssl ocsp-response <<\n$(base64 ocsp.der)\n" | \
     socat /tmp/sock1 -

Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>
doc/management.txt
src/ssl_sock.c