summaryrefslogtreecommitdiff
path: root/crypto/asymmetric_keys/x509_parser.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-08-30 16:16:34 +0100
committerDavid Howells <dhowells@redhat.com>2013-09-25 17:17:00 +0100
commit11ce6e49067f8885cfb9728ab40eeaa5d8525908 (patch)
tree313109968d49455f8632e80f6228fa40f0d2e478 /crypto/asymmetric_keys/x509_parser.h
parentb034bd37a8f01277dd6d29e2e56993ba362224a3 (diff)
downloadlinux-crypto-11ce6e49067f8885cfb9728ab40eeaa5d8525908.tar.gz
linux-crypto-11ce6e49067f8885cfb9728ab40eeaa5d8525908.zip
X.509: struct x509_certificate needs struct tm declaring
struct x509_certificate needs struct tm declaring by #inclusion of linux/time.h prior to its definition. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Josh Boyer <jwboyer@redhat.com>
Diffstat (limited to 'crypto/asymmetric_keys/x509_parser.h')
-rw-r--r--crypto/asymmetric_keys/x509_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/x509_parser.h b/crypto/asymmetric_keys/x509_parser.h
index e583ad09..2d011821 100644
--- a/crypto/asymmetric_keys/x509_parser.h
+++ b/crypto/asymmetric_keys/x509_parser.h
@@ -9,6 +9,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
+#include <linux/time.h>
#include <crypto/public_key.h>
struct x509_certificate {