[OpenPGP:SDK svn] r324 - openpgpsdk/trunk/src
Subversion
ben at algroup.co.uk
Tue Jan 3 13:26:35 GMT 2006
Author: ben
Date: 2006-01-03 13:26:35 +0000 (Tue, 03 Jan 2006)
New Revision: 324
Modified:
openpgpsdk/trunk/src/packet-parse.c
Log:
Consume error packets, too.
Modified: openpgpsdk/trunk/src/packet-parse.c
===================================================================
--- openpgpsdk/trunk/src/packet-parse.c 2006-01-03 12:39:09 UTC (rev 323)
+++ openpgpsdk/trunk/src/packet-parse.c 2006-01-03 13:26:35 UTC (rev 324)
@@ -1881,10 +1881,9 @@
r=0;
}
- /* Ensure that the entire packet has been consumed (so long as
- there haven't been errors) */
+ /* Ensure that the entire packet has been consumed */
- if(region.length != region.length_read && r)
+ if(region.length != region.length_read)
{
ops_data_t remainder;
More information about the OpenPGPsdk-svn
mailing list