summaryrefslogtreecommitdiff
path: root/lib/crypto/x509_cert_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/x509_cert_parser.c')
-rw-r--r--lib/crypto/x509_cert_parser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/crypto/x509_cert_parser.c b/lib/crypto/x509_cert_parser.c
index 4e41cffd23..18f5407a07 100644
--- a/lib/crypto/x509_cert_parser.c
+++ b/lib/crypto/x509_cert_parser.c
@@ -18,7 +18,11 @@
#include <linux/string.h>
#endif
#include <crypto/public_key.h>
+#ifdef __UBOOT__
+#include <crypto/x509_parser.h>
+#else
#include "x509_parser.h"
+#endif
#include "x509.asn1.h"
#include "x509_akid.asn1.h"