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.
pinentry-tty: Fix problem with zero length prompt. a616bd9dec00Unpublished Tags None Subscribers None
Description
Details
|