aboutsummaryrefslogtreecommitdiffstats
path: root/g10/g10.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/g10.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/g10.c b/g10/g10.c
index 07816a284..dd0c2b7af 100644
--- a/g10/g10.c
+++ b/g10/g10.c
@@ -858,6 +858,8 @@ static void add_group(char *string)
return;
}
+ trim_trailing_ws(name,strlen(name));
+
/* Break apart the values */
while ((value= strsep(&string," \t")))
{