Small improvement

This commit is contained in:
M66B 2020-07-10 14:33:08 +02:00
parent 9acfb90208
commit 911c5662a2
1 changed files with 2 additions and 0 deletions

View File

@ -938,6 +938,8 @@ public class EmailService implements AutoCloseable {
String getFingerPrintSelect() { String getFingerPrintSelect() {
try { try {
if (certificate == null)
return null;
String keyId = getKeyId(certificate); String keyId = getKeyId(certificate);
String fingerPrint = getFingerPrint(certificate); String fingerPrint = getFingerPrint(certificate);
return fingerPrint + (keyId == null ? "" : "/" + keyId); return fingerPrint + (keyId == null ? "" : "/" + keyId);