[ 
https://issues.apache.org/jira/browse/PDFBOX-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185646#comment-14185646
 ] 

Ralf Hauser commented on PDFBOX-2460:
-------------------------------------

Re
- the idea: I have worked on other BouncyCastle version upgrades before and if 
you step into/look at the source of the match() command, this approach becomes 
obvious
- risky: that may be risky, but I didn't introduce more risk than there was 
before since it could have be null also without my patch, I just didn't want to 
add the risk of a NullPointerException
- purpose of second patch: it may be possible that in your setup it also runs 
without the patch, it helped me to get it running

> fix TestPublicKeyEncryption.java
> --------------------------------
>
>                 Key: PDFBOX-2460
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2460
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.0
>         Environment: java7 , deb7
>            Reporter: Ralf Hauser
>         Attachments: patch2460Decryption.txt, patch2460PublicKeyTestCase.txt
>
>
> as reported by Tilman in PDFBOX-2456



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to