ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/protocol.C
(Generate patch)

Comparing gvpe/src/protocol.C (file contents):
Revision 1.1 by pcg, Sat Mar 1 15:53:03 2003 UTC vs.
Revision 1.2 by pcg, Sun Mar 2 23:04:02 2003 UTC

330 EVP_DecryptFinal_ex (cctx, (unsigned char *)d + outl, &outl2); 330 EVP_DecryptFinal_ex (cctx, (unsigned char *)d + outl, &outl2);
331 outl += outl2; 331 outl += outl2;
332 332
333 seqno = *(u32 *)(d + RAND_SIZE); 333 seqno = *(u32 *)(d + RAND_SIZE);
334 334
335 id2mac (dst (), p->dst); 335 id2mac (dst () ? dst() : THISNODE->id, p->dst);
336 id2mac (src (), p->src); 336 id2mac (src (), p->src);
337 337
338#if ENABLE_COMPRESSION 338#if ENABLE_COMPRESSION
339 if (type == PT_DATA_COMPRESSED) 339 if (type == PT_DATA_COMPRESSED)
340 { 340 {
341 u32 cl = (d[DATAHDR] << 8) | d[DATAHDR + 1]; 341 u32 cl = (d[DATAHDR] << 8) | d[DATAHDR + 1];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines