Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build issue: OPENSSL #9

Open
generosocarbone opened this issue Dec 2, 2017 · 0 comments
Open

Android build issue: OPENSSL #9

generosocarbone opened this issue Dec 2, 2017 · 0 comments

Comments

@generosocarbone
Copy link

generosocarbone commented Dec 2, 2017

I'm trying the build Open-TEE for Android and when I try to build the modules
make clean && make opentee-engine libManagerApi libInternalApi libLauncherApi libCommonApi libta_conn_test_app conn_test_app libtee

I get these errors

Open-TEE/emulator/internal_api/openssl_1_0_2_beta_rsa_oaep.c:121:9: error: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int' [-Werror,-Wint-conversion] dbmask = OPENSSL_malloc(emlen - mdlen);

and

Open-TEE/emulator/internal_api/openssl_1_0_2_beta_rsa_oaep.c:181:5: error: incompatible integer to pointer conversion assigning to 'unsigned char *' from 'int' [-Werror,-Wint-conversion] db = OPENSSL_malloc(dblen + num);

My workspace

  • Ubuntu 17.10 64 bit
  • Android source: Android 7.1.2_r28
  • Open-TEE built using Autotools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant