Home GnuPG
Diffusion GnuPG 661c2ae96699

agent: Use the sysconfdir for a pattern file.

Description

agent: Use the sysconfdir for a pattern file.

* agent/genkey.c (do_check_passphrase_pattern): Use make_filename.

Details

Provenance
wernerAuthored on Aug 18 2021, 7:21 PM
Parents
rGb89b1f35c29c: agent: Ignore passphrase constraints for a generated passphrase.
Branches
Unknown
Tags
Unknown

Event Timeline

/agent/genkey.c
117

The condition "pattern starts with ~/" is superfluous because in this case strchr(pattern, '/') is already true.