mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-17 18:02:05 +01:00
Add TODO for when bumping cert-d-java
This commit is contained in:
parent
4594b494a9
commit
c19b8297a3
1 changed files with 2 additions and 0 deletions
|
@ -258,6 +258,8 @@ public class EncryptionOptions {
|
|||
throws BadDataException, BadNameException, IOException {
|
||||
String fingerprint = certificateFingerprint.toString().toLowerCase();
|
||||
Certificate certificateRecord = certificateStore.getCertificate(fingerprint);
|
||||
// TODO: getCertificate throws NSEE automatically in 0.2.2+
|
||||
// Remove if statement below when bumping
|
||||
if (certificateRecord == null) {
|
||||
throw new NoSuchElementException("Cannot find certificate '" + certificateFingerprint + "'");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue