diff options
Diffstat (limited to '')
-rw-r--r-- | agent/agent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 958e3be6c..a1b37943c 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -47,6 +47,11 @@ /* Maximum length of a digest. */ #define MAX_DIGEST_LEN 64 +/* The maximum length of a passphrase (in bytes). Note: this is + further contrained by the Assuan line length (and any other text on + the same line). However, the Assuan line length is 1k bytes so + this shouldn't be a problem in practice. */ +#define MAX_PASSPHRASE_LEN 255 /* A large struct name "opt" to keep global flags */ |