mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[ocsp] Allow OCSP checks to be disabled
Some CAs provide non-functional OCSP servers, and some clients are forced to operate on networks without access to the OCSP servers. Allow the user to explicitly disable the use of OCSP checks by undefining OCSP_CHECK in config/crypto.h. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -58,6 +58,14 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
*/
|
||||
#define CROSSCERT "http://ca.ipxe.org/auto"
|
||||
|
||||
/** Perform OCSP checks when applicable
|
||||
*
|
||||
* Some CAs provide non-functional OCSP servers, and some clients are
|
||||
* forced to operate on networks without access to the OCSP servers.
|
||||
* Allow the user to explicitly disable the use of OCSP checks.
|
||||
*/
|
||||
#define OCSP_CHECK
|
||||
|
||||
#include <config/named.h>
|
||||
#include NAMED_CONFIG(crypto.h)
|
||||
#include <config/local/crypto.h>
|
||||
|
||||
Reference in New Issue
Block a user