[
https://issues.apache.org/jira/browse/PROTON-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15459324#comment-15459324
]
Robbie Gemmell commented on PROTON-1295:
----------------------------------------
Thanks for catching this, I missed that during review. Though it appeared to
already be tested the type of keyfile meant that it didn't in fact hit that
codepath after all. I've added an additional test+keyfile to ensure it does,
and made the suggested change.
> Proton-j unencrypted private key won't load
> -------------------------------------------
>
> Key: PROTON-1295
> URL: https://issues.apache.org/jira/browse/PROTON-1295
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.15.0
> Reporter: Daniel Evans
>
> In SslEngineFacadeFactory, line 469,
> privateKey = (PrivateKey) getPrivateKeyMethod.invoke(pemObject);
> I think should read
> privateKey = (PrivateKey) getPrivateKeyMethod.invoke(keyConverter, pemObject);
> At the moment it throws an exception on method evocation since the method
> doesn't exist in pemObject.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]