Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
su
tee-fuzzing
Commits
28e845ba
Commit
28e845ba
authored
Sep 10, 2021
by
Dan
Browse files
Include openssl fix
parent
8bc6ec81
Changes
1
Hide whitespace changes
Inline
Side-by-side
open-tee/README.md
View file @
28e845ba
...
...
@@ -10,3 +10,18 @@ It also may be necessary to use `-export-dynamic` instead, using only one dash.
While Open-TEE works successfully on 18.04, there are issues running the engine on 20.10.
Specifically the
`tee_launcher`
process is not created as expected in
`emulator/opentee-main/main.c`
In order to successfully build on 20.10, it is necessary to utilize an older version of OpenSSL as well.
The following commands should help address these issues.
# Download openssl 1.0.2 sources, and replace includes
sudo mv /usr/include/openssl /usr/include/openssl_original
sudo mv openssl-1.0.2l/include/openssl /usr/include/openssl
sudo mv /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/x86_64-linux-gnu/openssl/opensslconf.h.original
sudo cp /usr/include/openssl/opensslconf.h /usr/include/x86_64-linux-gnu/openssl/opensslconf.h
# Strip leading dash in CA Makefile, after default generation using build instructions.
sed -i -- 's/
\-\-
export
\-
dynamic/
\-
export
\-
dynamic/g' Open-TEE/build/CAs/Makefile
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment