X.509: struct x509_certificate needs struct tm declaring
authorDavid Howells <dhowells@redhat.com>
Fri, 30 Aug 2013 15:16:34 +0000 (16:16 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 3 Apr 2014 08:32:09 +0000 (10:32 +0200)
commit 57be4a784bf58eb41784aa3431165b455cf7e9c6 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
crypto/asymmetric_keys/x509_parser.h

index f86dc5fcc4ad46accfb003b464c784fb5763218b..d9351ee19f1822eacd040ddc079470895ce53193 100644 (file)
@@ -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 {