Inform a user about inquire length limit.
authorBen Kibbey <bjk@luxsci.net>
Fri, 17 Apr 2015 01:00:30 +0000 (21:00 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 15 Aug 2015 21:14:13 +0000 (17:14 -0400)
commitf126ca61565922b3b938c3486614b9bd7e6e454c
tree8f1b8360088eddb163d81b591a1717e68a07837a
parent233b5fedabd80a34452e748132e65b5944310428
Inform a user about inquire length limit.

* common/status.h (INQUIRE_MAXLEN): New.
* g10/call-agent.c (default_inquire_cb): Send STATUS_INQUIRE_MAXLEN.
client when inquiring a passphrase over pinentry-loopback.

--
This is to inform a user about the maximum length of a passphrase. The
limit is the same that gpg-agent uses.
common/status.h
g10/call-agent.c