aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keyedit.c')
-rw-r--r--g10/keyedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c
index bd41772fd..4da174e3c 100644
--- a/g10/keyedit.c
+++ b/g10/keyedit.c
@@ -298,7 +298,7 @@ sign_mk_attrib( PKT_signature *sig, void *opaque )
}
static void
-trustsig_prompt(byte *trust_value,byte *trust_depth,char **regexp)
+trustsig_prompt(byte *trust_value, byte *trust_depth, char **regexp)
{
char *p;
@@ -344,7 +344,7 @@ trustsig_prompt(byte *trust_value,byte *trust_depth,char **regexp)
cpr_kill_prompt();
*trust_depth=atoi(p);
xfree (p);
- if(*trust_depth<1 || *trust_depth>255)
+ if(*trust_depth < 1 )
*trust_depth=0;
}