Prevent crash

pull/178/head
M66B 5 years ago
parent 7426479e1a
commit bc9112b5c1

@ -5523,7 +5523,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override @Override
public AttributeTable getSignedAttributes() { public AttributeTable getSignedAttributes() {
// The certificate validity will be check below // 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));
} }
}; };

Loading…
Cancel
Save