1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Prevent crash

This commit is contained in:
M66B 2020-05-22 12:35:48 +02:00
parent 7426479e1a
commit bc9112b5c1

View file

@ -5523,7 +5523,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public AttributeTable getSignedAttributes() {
// The certificate validity will be check below
return super.getSignedAttributes().remove(CMSAttributes.signingTime);
AttributeTable at = super.getSignedAttributes();
return (at == null ? null : at.remove(CMSAttributes.signingTime));
}
};