You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sebb <se...@gmail.com> on 2023/09/09 16:32:44 UTC

[CRYPTO] test failures with JNA

Some of the test runs fail when testing with the class:

org.apache.commons.crypto.jna.OpenSslJna

It looks like all the OSes complete the test OK if the default JNA
library is used.

However for some reason its version does not always agree with the
default openSSL version.

This library can be overridden by suitable use of the jna.library.path property.

This is not necessary for Ubuntu, as it defaults to the correct library version.

For macos one can use the lib from the ENGINESDIR value shown by
'openssl version -a'.

I've not yet been able to find how to override the windows library successfully.

Sebb

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [CRYPTO] test failures with JNA

Posted by Alex Remily <al...@gmail.com>.
How to reproduce these test failures?

On Sat, Sep 9, 2023 at 12:33 PM sebb <se...@gmail.com> wrote:

> Some of the test runs fail when testing with the class:
>
> org.apache.commons.crypto.jna.OpenSslJna
>
> It looks like all the OSes complete the test OK if the default JNA
> library is used.
>
> However for some reason its version does not always agree with the
> default openSSL version.
>
> This library can be overridden by suitable use of the jna.library.path
> property.
>
> This is not necessary for Ubuntu, as it defaults to the correct library
> version.
>
> For macos one can use the lib from the ENGINESDIR value shown by
> 'openssl version -a'.
>
> I've not yet been able to find how to override the windows library
> successfully.
>
> Sebb
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>