Changeset 63

Show
Ignore:
Timestamp:
04/25/05 12:45:18
Author:
rachel
Message:

Change in revision 59 reapplied.
"Preferred Symmetric Algorithm" signature sub-packet now displayed
plus minor typos

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openpgpsdk/trunk/src/packet-parse.c

    r62 r63  
    1717# include <dmalloc.h> 
    1818#endif 
    19  
     19  
    2020static void init_subregion(ops_region_t *subregion,ops_region_t *region) 
    2121    { 
     
    177177/** Read a scalar. 
    178178 * 
    179  * Read a Big Endian scalar of length bytes, respecing packet boundaries (by calling #limited_read to read the raw 
     179 * Read a Big Endian scalar of length bytes, respecting packet boundaries (by calling #limited_read to read the raw 
    180180 * data). 
    181181 * 
     
    684684        break; 
    685685 
     686    case OPS_PTAG_SS_PREFERRED_SKA: 
     687 
     688        C.ss_preferred_ska.len = subregion.length - subregion.length_read;        
     689        if (!ops_limited_read(C.ss_preferred_ska.data, 
     690                              C.ss_preferred_ska.len, &subregion, opt)) 
     691            return 0; 
     692        break; 
     693                                 
    686694    default: 
    687695        if(opt->ss_parsed[t8]&t7)