From 7c7c95709482c769fb081471f2ff8701dbd5b068 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 30 Mar 2014 20:07:14 +0100 Subject: [crypto] Allow signed timestamp error margin to be configured at build time Signed-off-by: Michael Brown --- src/include/ipxe/x509.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/x509.h b/src/include/ipxe/x509.h index 52302aeab..c92547237 100644 --- a/src/include/ipxe/x509.h +++ b/src/include/ipxe/x509.h @@ -42,14 +42,6 @@ struct x509_validity { struct x509_time not_after; }; -/** Margin of error allowed in X.509 response times - * - * We allow a generous margin of error: 12 hours to allow for the - * local time zone being non-GMT, plus 30 minutes to allow for general - * clock drift. - */ -#define X509_ERROR_MARGIN_TIME ( ( 12 * 60 + 30 ) * 60 ) - /** An X.509 certificate public key */ struct x509_public_key { /** Raw public key information */ -- cgit v1.2.3-55-g7522