Hi Chris
I updated all the files using
https://github.com/wolfSSL/wolfssl
https://github.com/wolfSSL/wolfssljni
https://github.com/wolfSSL/wolfssl-examples
made the same modifications as before:
I added the line wolfcrypt/src/wc_encrypt.c \ on the file wolfssljni-ndk-sample/jni/Android.mk
when I did again the ndk-build it was able to compile the ssl.c file. However later complained that the options.h file was missing. I copied the options.h file form the wolfssl_3.7.0 version /wolfssl-3.7.0/wolfssl/options.h to wolfssljni-ndk-sample/wolfssl/wolfssl/options.h
And I get the same error. Is there another source code that I should be using?
This is the build output
../ndk/android-ndk-r9d/ndk-build
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 10 in ./AndroidManifest.xml
[armeabi] Compile thumb : jnitest <= jnitest.c
[armeabi] Compile thumb : wolfssl <= crl.c
[armeabi] Compile thumb : wolfssl <= internal.c
[armeabi] Compile thumb : wolfssl <= io.c
[armeabi] Compile thumb : wolfssl <= keys.c
[armeabi] Compile thumb : wolfssl <= ocsp.c
[armeabi] Compile thumb : wolfssl <= sniffer.c
[armeabi] Compile thumb : wolfssl <= ssl.c
[armeabi] Compile thumb : wolfssl <= tls.c
[armeabi] Compile thumb : wolfssl <= aes.c
[armeabi] Compile thumb : wolfssl <= arc4.c
[armeabi] Compile thumb : wolfssl <= asm.c
[armeabi] Compile thumb : wolfssl <= asn.c
[armeabi] Compile thumb : wolfssl <= blake2b.c
[armeabi] Compile thumb : wolfssl <= camellia.c
[armeabi] Compile thumb : wolfssl <= chacha.c
[armeabi] Compile thumb : wolfssl <= chacha20_poly1305.c
[armeabi] Compile thumb : wolfssl <= coding.c
[armeabi] Compile thumb : wolfssl <= compress.c
[armeabi] Compile thumb : wolfssl <= curve25519.c
[armeabi] Compile thumb : wolfssl <= des3.c
[armeabi] Compile thumb : wolfssl <= dh.c
[armeabi] Compile thumb : wolfssl <= dsa.c
[armeabi] Compile thumb : wolfssl <= ecc.c
[armeabi] Compile thumb : wolfssl <= ecc_fp.c
[armeabi] Compile thumb : wolfssl <= ed25519.c
[armeabi] Compile thumb : wolfssl <= error.c
[armeabi] Compile thumb : wolfssl <= fe_low_mem.c
[armeabi] Compile thumb : wolfssl <= fe_operations.c
[armeabi] Compile thumb : wolfssl <= ge_low_mem.c
[armeabi] Compile thumb : wolfssl <= ge_operations.c
[armeabi] Compile thumb : wolfssl <= hash.c
[armeabi] Compile thumb : wolfssl <= hc128.c
[armeabi] Compile thumb : wolfssl <= hmac.c
[armeabi] Compile thumb : wolfssl <= integer.c
[armeabi] Compile thumb : wolfssl <= logging.c
[armeabi] Compile thumb : wolfssl <= md2.c
[armeabi] Compile thumb : wolfssl <= md4.c
[armeabi] Compile thumb : wolfssl <= md5.c
[armeabi] Compile thumb : wolfssl <= memory.c
[armeabi] Compile thumb : wolfssl <= misc.c
[armeabi] Compile thumb : wolfssl <= pkcs7.c
[armeabi] Compile thumb : wolfssl <= poly1305.c
[armeabi] Compile thumb : wolfssl <= pwdbased.c
[armeabi] Compile thumb : wolfssl <= rabbit.c
[armeabi] Compile thumb : wolfssl <= random.c
[armeabi] Compile thumb : wolfssl <= ripemd.c
[armeabi] Compile thumb : wolfssl <= rsa.c
[armeabi] Compile thumb : wolfssl <= sha.c
[armeabi] Compile thumb : wolfssl <= sha256.c
[armeabi] Compile thumb : wolfssl <= sha512.c
[armeabi] Compile thumb : wolfssl <= tfm.c
[armeabi] Compile thumb : wolfssl <= wc_encrypt.c
[armeabi] Compile thumb : wolfssl <= wc_port.c
[armeabi] SharedLibrary : libwolfssl.so
[armeabi] SharedLibrary : libjnitest.so
[armeabi] Install : libjnitest.so => libs/armeabi/libjnitest.so
[armeabi] Install : libwolfssl.so => libs/armeabi/libwolfssl.so
[armeabi] Compile thumb : wolfssljni <= com_wolfssl_WolfSSL.c
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_nativeFree':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:59:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:60:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:86:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:92:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_11_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:98:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_11_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:104:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_12_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:110:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_TLSv1_12_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:116:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_DTLSv1_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:122:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_DTLSv1_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:128:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_DTLSv1_12_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:134:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_DTLSv1_12_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:140:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_SSLv23_1ServerMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:146:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_SSLv23_1ClientMethod':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:152:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c: In function 'Java_com_wolfssl_WolfSSL_x509_1getDer':
jni/../wolfssljni/native/com_wolfssl_WolfSSL.c:357:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[armeabi] Compile thumb : wolfssljni <= com_wolfssl_WolfSSLContext.c
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_newContext':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:71:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:71:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_useCertificateFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:100:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_usePrivateKeyFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:134:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_loadVerifyLocations':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:179:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_useCertificateChainFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:217:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_freeContext':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:229:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setVerify':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:236:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:246:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'NativeVerifyCallback':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:318:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_memsaveCertCache':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:361:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_memrestoreCertCache':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:418:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_getCertCacheMemsize':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:427:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setCipherList':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:457:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_loadVerifyBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:492:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_useCertificateBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:522:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_usePrivateKeyBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:553:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_useCertificateChainBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:585:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setGroupMessages':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:595:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setIORecv':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:612:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'NativeIORecvCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:671:5: warning: implicit declaration of function 'wolfSSL_get_jobject' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setIOSend':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:832:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setGenCookie':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1051:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_enableCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1271:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_disableCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1280:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_loadCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1294:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setCRLCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1324:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_enableOCSP':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1413:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_disableOCSP':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1420:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setOCSPOverrideUrl':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1451:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setMacEncryptCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1472:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setDecryptVerifyCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:1759:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setEccSignCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2039:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setEccVerifyCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2328:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setRsaSignCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2605:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setRsaVerifyCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2899:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setRsaEncCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3138:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setRsaDecCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3425:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setPskClientCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3670:9: warning: implicit declaration of function 'wolfSSL_CTX_set_psk_client_callback' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3670:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_setPskServerCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4093:9: warning: implicit declaration of function 'wolfSSL_CTX_set_psk_server_callback' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4093:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c: In function 'Java_com_wolfssl_WolfSSLContext_usePskIdentityHint':
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4394:5: warning: implicit declaration of function 'wolfSSL_CTX_use_psk_identity_hint' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4394:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[armeabi] Compile thumb : wolfssljni <= com_wolfssl_WolfSSLSession.c
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_newSSL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:50:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:50:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:57:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:63:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:67:9: warning: implicit declaration of function 'wolfSSL_set_jobject' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:67:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:70:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setFd':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:148:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_useCertificateFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:165:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_usePrivateKeyFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:187:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_useCertificateChainFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:209:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setUsingNonblock':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:235:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getUsingNonblock':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:257:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getFd':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:280:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_connect':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:298:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_write':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:323:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_read':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:339:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_accept':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:359:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_freeSSL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:381:5: warning: implicit declaration of function 'wolfSSL_get_jobject' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:381:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:388:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_shutdownSSL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:398:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getError':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:408:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setSession':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:418:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:418:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getSession':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:425:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:425:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setCipherList':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:440:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_dtlsGetCurrentTimeout':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:465:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_dtlsGotTimeout':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:486:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_dtls':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:506:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_dtlsSetPeer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:616:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_dtlsGetPeer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:642:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_sessionReused':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:713:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPeerCertificate':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:733:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPeerX509Issuer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:760:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPeerX509Subject':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:792:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPeerX509AltName':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:823:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getVersion':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:847:60: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getCurrentCipher':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:868:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:868:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_checkDomainName':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:896:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setTmpDH':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:942:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setTmpDHFile':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:971:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_useCertificateBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1007:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_usePrivateKeyBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1039:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_useCertificateChainBuffer':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1071:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setGroupMessages':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1091:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_enableCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1115:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_disableCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1139:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_loadCRL':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1167:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setCRLCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1206:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_cipherGetName':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1310:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getMacSecret':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1343:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1348:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getClientWriteKey':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1396:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1401:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getClientWriteIV':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1449:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1454:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getServerWriteKey':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1502:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1507:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getServerWriteIV':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1555:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1560:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getKeySize':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1589:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getSide':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1596:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_isTLSv1_11':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1603:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getBulkCipher':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1610:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getCipherBlockSize':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1617:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getAeadMacSize':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1624:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getHmacSize':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1631:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getHmacType':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1638:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getCipherType':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1645:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setTlsHmacInner':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1667:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setEccSignCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1717:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1747:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setEccVerifyCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1783:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1813:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setRsaSignCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1849:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1879:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setRsaVerifyCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1915:57: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1945:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setRsaEncCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:1981:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2011:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setRsaDecCtx':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2047:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2077:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setPskClientCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2094:9: warning: implicit declaration of function 'wolfSSL_set_psk_client_callback' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2094:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_setPskServerCb':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2117:9: warning: implicit declaration of function 'wolfSSL_set_psk_server_callback' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2117:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPskIdentityHint':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2133:13: warning: implicit declaration of function 'wolfSSL_get_psk_identity_hint' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2133:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2133:13: warning: passing argument 2 of '(*jenv)->NewStringUTF' makes pointer from integer without a cast [enabled by default]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2133:13: note: expected 'char const *' but argument is of type 'int'
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_getPskIdentity':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2143:13: warning: implicit declaration of function 'wolfSSL_get_psk_identity' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2143:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2143:13: warning: passing argument 2 of '(*jenv)->NewStringUTF' makes pointer from integer without a cast [enabled by default]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2143:13: note: expected 'char const *' but argument is of type 'int'
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c: In function 'Java_com_wolfssl_WolfSSLSession_usePskIdentityHint':
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2157:5: warning: implicit declaration of function 'wolfSSL_use_psk_identity_hint' [-Wimplicit-function-declaration]
jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2157:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
[armeabi] Compile thumb : wolfssljni <= com_wolfssl_wolfcrypt_ECC.c
[armeabi] Compile thumb : wolfssljni <= com_wolfssl_wolfcrypt_RSA.c
[armeabi] SharedLibrary : libwolfssljni.so
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function NativeRsaDecCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3484: error: undefined reference to 'wolfSSL_get_jobject'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function NativeRsaEncCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3198: error: undefined reference to 'wolfSSL_get_jobject'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function NativeRsaVerifyCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2958: error: undefined reference to 'wolfSSL_get_jobject'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function NativeRsaSignCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:2665: error: undefined reference to 'wolfSSL_get_jobject'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function Java_com_wolfssl_WolfSSLContext_setPskClientCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:3670: error: undefined reference to 'wolfSSL_CTX_set_psk_client_callback'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function Java_com_wolfssl_WolfSSLContext_setPskServerCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4093: error: undefined reference to 'wolfSSL_CTX_set_psk_server_callback'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLContext.o: in function Java_com_wolfssl_WolfSSLContext_usePskIdentityHint:jni/../wolfssljni/native/com_wolfssl_WolfSSLContext.c:4394: error: undefined reference to 'wolfSSL_CTX_use_psk_identity_hint'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_newSSL:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:67: error: undefined reference to 'wolfSSL_set_jobject'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_setPskClientCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2094: error: undefined reference to 'wolfSSL_set_psk_client_callback'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_setPskServerCb:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2117: error: undefined reference to 'wolfSSL_set_psk_server_callback'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_getPskIdentityHint:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2133: error: undefined reference to 'wolfSSL_get_psk_identity_hint'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_getPskIdentity:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2143: error: undefined reference to 'wolfSSL_get_psk_identity'
/home/fc/eclipse/ndk/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs/wolfssljni/native/com_wolfssl_WolfSSLSession.o: in function Java_com_wolfssl_WolfSSLSession_usePskIdentityHint:jni/../wolfssljni/native/com_wolfssl_WolfSSLSession.c:2157: error: undefined reference to 'wolfSSL_use_psk_identity_hint'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi/libwolfssljni.so] Error 1