aboutsummaryrefslogtreecommitdiffstats
path: root/common/simple-pwquery.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-01-25 09:15:10 +0000
committerWerner Koch <[email protected]>2007-01-25 09:15:10 +0000
commit39fbda4e3c1165ea140ea206967798b73265754b (patch)
tree1734282ca7b00c3cb85151fcb4ccf81abe9fc801 /common/simple-pwquery.h
parentagent/ (diff)
downloadgnupg-39fbda4e3c1165ea140ea206967798b73265754b.tar.gz
gnupg-39fbda4e3c1165ea140ea206967798b73265754b.zip
agent/
* genkey.c (check_passphrase_constraints): Get ngettext call right.
Diffstat (limited to 'common/simple-pwquery.h')
-rw-r--r--common/simple-pwquery.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/common/simple-pwquery.h b/common/simple-pwquery.h
index 5b941d06f..ab2724ffa 100644
--- a/common/simple-pwquery.h
+++ b/common/simple-pwquery.h
@@ -48,14 +48,16 @@
/* Ask the gpg-agent for a passphrase and present the user with a
DESCRIPTION, a PROMPT and optiaonlly with a TRYAGAIN extra text.
If a CACHEID is not NULL it is used to locate the passphrase in in
- the cache and store it under this ID. If ERRORCODE is not NULL it
- should point a variable receiving an errorcode; this errocode might
- be 0 if the user canceled the operation. The function returns NULL
- to indicate an error. */
+ the cache and store it under this ID. If OPT_CHECK is true
+ gpg-agent is asked to apply some checks on the passphrase security.
+ If ERRORCODE is not NULL it should point a variable receiving an
+ errorcode; this errocode might be 0 if the user canceled the
+ operation. The function returns NULL to indicate an error. */
char *simple_pwquery (const char *cacheid,
const char *tryagain,
const char *prompt,
const char *description,
+ int opt_check,
int *errorcode);
/* Ask the gpg-agent to clear the passphrase for the cache ID CACHEID. */