summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/x509.h
diff options
context:
space:
mode:
authorMichael Brown2014-03-30 21:07:14 +0200
committerMichael Brown2014-03-30 21:08:00 +0200
commit7c7c95709482c769fb081471f2ff8701dbd5b068 (patch)
treef4f30b3d4d00794351b5e00cc6da173759d0dec8 /src/include/ipxe/x509.h
parent[crypto] Use fingerprint when no common name is available for debug messages (diff)
downloadipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.tar.gz
ipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.tar.xz
ipxe-7c7c95709482c769fb081471f2ff8701dbd5b068.zip
[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/ipxe/x509.h')
-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 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 */