Don't do OCSP stapling only if the staple file is 0 length.
authorbeck <beck@openbsd.org>
Wed, 29 Nov 2017 16:55:08 +0000 (16:55 +0000)
committerbeck <beck@openbsd.org>
Wed, 29 Nov 2017 16:55:08 +0000 (16:55 +0000)
commit34538e77d08000dea9d2b297e58be7acd00022e4
treeeae79dc5d3221a996df01cb11994684ee0b21cb0
parent51c33b3f2a61ec915a4974af308e1a76d3059fd6
Don't do OCSP stapling only if the staple file is 0 length.

This allows something external (like ocspcheck) to disable the stapling
deliberatly if it can not retreive a valid staple by truncating the
staple file to indicate "do not provide a staple", while the file not
existin will still be treated as a configuration error
ok claudio@ florian@, and prompted by @jsing
usr.sbin/httpd/httpd.conf.5
usr.sbin/httpd/server.c