Commit 28e845ba authored by Dan's avatar Dan
Browse files

Include openssl fix

parent 8bc6ec81
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment