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

Comparing gvpe/src/connection.C (file contents):
Revision 1.79 by pcg, Fri Aug 15 17:45:12 2008 UTC vs.
Revision 1.80 by pcg, Fri Aug 15 18:11:14 2008 UTC

808 808
809 rsa_hash (id, chg, pkt->response); 809 rsa_hash (id, chg, pkt->response);
810 810
811 pkt->hmac_set (octx); 811 pkt->hmac_set (octx);
812 812
813 slog (L_TRACE, "%s >> PT_AUTH_RES [%s]", conf->nodename, (const char *)si); 813 slog (L_TRACE, "%s << PT_AUTH_RES [%s]", conf->nodename, (const char *)si);
814 814
815 send_vpn_packet (pkt, si, IPTOS_RELIABILITY); // rsa is very very costly 815 send_vpn_packet (pkt, si, IPTOS_RELIABILITY); // rsa is very very costly
816 816
817 delete pkt; 817 delete pkt;
818} 818}
819 819
820void 820void
821connection::send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols) 821connection::send_connect_info (int rid, const sockinfo &rsi, u8 rprotocols)
822{ 822{
823 slog (L_TRACE, "%s >> PT_CONNECT_INFO(%s,%s)", conf->nodename, 823 slog (L_TRACE, "%s << PT_CONNECT_INFO(%s,%s)", conf->nodename,
824 vpn->conns[rid - 1]->conf->nodename, (const char *)rsi); 824 vpn->conns[rid - 1]->conf->nodename, (const char *)rsi);
825 825
826 connect_info_packet *r = new connect_info_packet (conf->id, rid, rsi, rprotocols); 826 connect_info_packet *r = new connect_info_packet (conf->id, rid, rsi, rprotocols);
827 827
828 r->hmac_set (octx); 828 r->hmac_set (octx);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines