Prevent crash

This commit is contained in:
M66B 2020-05-22 12:35:48 +02:00
parent 7426479e1a
commit bc9112b5c1
1 changed files with 2 additions and 1 deletions

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));
}
};