Open-TEE / opentee-android

Android code/libraries for deploying and running Open TEE code
https://github.com/Open-TEE
Apache License 2.0
50 stars 24 forks source link

Android build issue: OPENSSL #9

Open generosocarbone opened 6 years ago

generosocarbone commented 6 years ago

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