aboutsummaryrefslogtreecommitdiffstats
path: root/g10/armor.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/armor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/armor.c b/g10/armor.c
index 6d39dd9d1..7617415cb 100644
--- a/g10/armor.c
+++ b/g10/armor.c
@@ -510,7 +510,7 @@ find_header( fhdr_state_t state, byte *buf, size_t *r_buflen,
case fhdrTESTSpaces: {
/* but must check whether the rest of the line
* only contains white spaces; this is problematic
- * since we may have to restore the stuff. simply
+ * since we may have to restore the stuff. simply
* counting spaces is not enough, because it may be a
* mix of different white space characters */
IOBUF b = iobuf_temp();
@@ -1018,7 +1018,7 @@ armor_filter( void *opaque, int control,
++idx2;
}
/* may need a linefeed */
- if( idx2 < (72/4) )
+ if( idx2 <= (72/4) )
iobuf_put(a, '\n');
/* write the CRC */
iobuf_put(a, '=');