Ken Montagna wrote:
> I have built android on windows, iOS, and android successfully, but with
> android I had to do a workaround for the versioning using this link:
> 
> http://stackoverflow.com/questions/12269563/using-openssl-fips-2-0-shared-libraries-in-android
> 
>  
> 
> Is there an environment variable or switch I can pass to config to
> accomplish this?

This is not answer to question, but another question.

There is one thing I fail to understand. Is it correctly understood that
we are talking about Java application and that you can't call OpenSSL
functions directly from VM? That you have to interface OpenSSL and your
Java code through JNI layer that follows specific naming and argument
passing convention? And if this is the case, wouldn't it be more
appropriate to embed libcrypto.a into your JNI shared library instead?
You'd have to collect the .a libraries from shared OpenSSL build (so
that code is compiled as position-independent), you'd have to link your
JNI with fipsld, but you wouldn't have to fight with System.load [and
handle SD card swaps]...

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to