diff options
| author | Werner Koch <[email protected]> | 2005-05-31 08:39:18 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2005-05-31 08:39:18 +0000 |
| commit | 7d4043ca57f75c7a9461bbaf5754396531ab7d85 (patch) | |
| tree | 6d073ef027c0fbdf6273744b134621256a387de2 /g10/armor.c | |
| parent | * trustdb.h, trustdb.c (clean_subkeys_from_key): New. Walk through (diff) | |
| download | gnupg-7d4043ca57f75c7a9461bbaf5754396531ab7d85.tar.gz gnupg-7d4043ca57f75c7a9461bbaf5754396531ab7d85.zip | |
Updated FSF street address and preparations for a release candidate.
Diffstat (limited to 'g10/armor.c')
| -rw-r--r-- | g10/armor.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/g10/armor.c b/g10/armor.c index 55698da91..162997df7 100644 --- a/g10/armor.c +++ b/g10/armor.c @@ -16,7 +16,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA. */ #include <config.h> @@ -430,9 +431,9 @@ check_input( armor_filter_context_t *afx, IOBUF a ) } while( !maxlen ); } - /* parse the header lines */ + /* Parse the header lines. */ while(len) { - /* read the next line (skip all truncated lines) */ + /* Read the next line (skip all truncated lines). */ do { maxlen = MAX_LINELEN; afx->buffer_len = iobuf_read_line( a, &afx->buffer, @@ -443,7 +444,7 @@ check_input( armor_filter_context_t *afx, IOBUF a ) i = parse_header_line( afx, line, len ); if( i <= 0 ) { - if( i ) + if (i && RFC2440) rc = G10ERR_INVALID_ARMOR; break; } |
