Fixed segv in gpg-agent (command marktrusted).