aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/armor.c')
-rw-r--r--g10/armor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 19cca3fd4..a6195fc3d 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -798,8 +798,9 @@ radix64_read( armor_filter_context_t *afx, IOBUF a, size_t *retn,
goto again;
}
}
- else if(n==0)
- onlypad=1;
+
+ if (!n)
+ onlypad = 1;
if( idx == 1 )
buf[n++] = val;