[
https://issues.apache.org/jira/browse/CRYPTO-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365242#comment-15365242
]
Sebb commented on CRYPTO-108:
-----------------------------
CRYPTO-108 OpenSSL does not handle Native code loading failure
Save load failure message, so getLoadingFailureReason == null means code
loaded and init OK
TODO prevent instantiation if init not done OK
Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/079c1589
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/079c1589
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/079c1589
> OpenSSL does not handle Native code loading failure
> ---------------------------------------------------
>
> Key: CRYPTO-108
> URL: https://issues.apache.org/jira/browse/CRYPTO-108
> Project: Commons Crypto
> Issue Type: Bug
> Reporter: Sebb
>
> OpenSSL fails to check if the Native code was loaded successfully before
> creating an instance.
> This just defers the inevitable failure; it would be better to throw an error
> immediately.
> Also the code should provide the details of the load faiure
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)