From f126ca61565922b3b938c3486614b9bd7e6e454c Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Thu, 16 Apr 2015 21:00:30 -0400 Subject: 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common/status.h') diff --git a/common/status.h b/common/status.h index 9219bf4d9..3c78eda08 100644 --- a/common/status.h +++ b/common/status.h @@ -125,7 +125,9 @@ enum STATUS_PINENTRY_LAUNCHED, STATUS_ERROR, - STATUS_SUCCESS + STATUS_SUCCESS, + + STATUS_INQUIRE_MAXLEN, }; -- cgit v1.2.3