Przeglądaj źródła

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>
David Howells 12 lat temu
rodzic
commit
57be4a784b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      crypto/asymmetric_keys/x509_parser.h

+ 1 - 0
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 {