aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-03-30 20:07:14 +0100
committerMichael Brown <mcb30@ipxe.org>2014-03-30 20:08:00 +0100
commit7c7c95709482c769fb081471f2ff8701dbd5b068 (patch)
treef4f30b3d4d00794351b5e00cc6da173759d0dec8 /src/include
parentd90490578d3fe7eca080bb951bebd65bd76bc053 (diff)
downloadipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.zip
ipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.tar.gz
ipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.tar.bz2
[crypto] Allow signed timestamp error margin to be configured at build time
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/x509.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/ipxe/x509.h b/src/include/ipxe/x509.h
index 52302ae..c925472 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 */