summaryrefslogtreecommitdiffstats
path: root/freebsd/crypto/openssl/apps/x509.c
diff options
context:
space:
mode:
authorChristian Mauderer <christian.mauderer@embedded-brains.de>2019-03-26 11:08:47 +0100
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2019-03-27 10:53:26 +0100
commitd1dac7891cd3234c935ce7e4d742b6f87663a5e1 (patch)
tree7d3685301aba8a5c719d640a4213991d7dafe7bd /freebsd/crypto/openssl/apps/x509.c
parentbin/openssl: Import from FreeBSD. (diff)
downloadrtems-libbsd-d1dac7891cd3234c935ce7e4d742b6f87663a5e1.tar.bz2
bin/openssl: Port to RTEMS.
Diffstat (limited to '')
-rw-r--r--freebsd/crypto/openssl/apps/x509.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/crypto/openssl/apps/x509.c b/freebsd/crypto/openssl/apps/x509.c
index 94f0b794..b57d2229 100644
--- a/freebsd/crypto/openssl/apps/x509.c
+++ b/freebsd/crypto/openssl/apps/x509.c
@@ -1,4 +1,8 @@
#include <machine/rtems-bsd-user-space.h>
+#ifdef __rtems__
+#include <machine/rtems-bsd-program.h>
+#include "rtems-bsd-openssl-namespace.h"
+#endif /* __rtems__ */
/*
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
@@ -1196,3 +1200,6 @@ static int print_x509v3_exts(BIO *bio, X509 *x, const char *ext_names)
OPENSSL_free(tmp_ext_names);
return ret;
}
+#ifdef __rtems__
+#include "rtems-bsd-openssl-x509-data.h"
+#endif /* __rtems__ */