Home GnuPG

pinentry-tty: Fix problem with zero length prompt.
a616bd9dec00Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

pinentry-tty: Fix problem with zero length prompt.

* tty/pinentry-tty.c (read_password): Use default prompt also for an
empty prompt argument.

strlen(prompt)-1 is used thus we need to make sure that
the length is > 0.

Details

Provenance
wernerAuthored on May 5 2015, 9:03 AM
Parents
rP8b802cf928d1: Improve documentation.
Branches
Unknown
Tags
Unknown