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.12 by pcg, Sun Apr 13 16:53:36 2003 UTC vs.
Revision 1.14 by pcg, Fri Aug 8 09:29:22 2003 UTC

938 PROTOCOL_MINOR, conf->nodename, p->prot_minor); 938 PROTOCOL_MINOR, conf->nodename, p->prot_minor);
939 939
940 rsachallenge chg; 940 rsachallenge chg;
941 941
942 if (!rsa_cache.find (p->id, chg)) 942 if (!rsa_cache.find (p->id, chg))
943 {
943 slog (L_ERR, _("%s(%s): unrequested auth response"), 944 slog (L_ERR, _("%s(%s): unrequested auth response"),
944 conf->nodename, (const char *)rsi); 945 conf->nodename, (const char *)rsi);
946 break;
947 }
945 else 948 else
946 { 949 {
947 crypto_ctx *cctx = new crypto_ctx (chg, 0); 950 crypto_ctx *cctx = new crypto_ctx (chg, 0);
948 951
949 if (!p->hmac_chk (cctx)) 952 if (!p->hmac_chk (cctx))
1025 c->inject_data_packet (d); 1028 c->inject_data_packet (d);
1026 } 1029 }
1027 1030
1028 if (si != rsi) 1031 if (si != rsi)
1029 { 1032 {
1030 // fast re-sync on conneciton changes, useful especially for tcp/ip 1033 // fast re-sync on connection changes, useful especially for tcp/ip
1031 si = rsi; 1034 si = rsi;
1032 1035
1033 slog (L_INFO, _("%s(%s): socket address changed to %s"), 1036 slog (L_INFO, _("%s(%s): socket address changed to %s"),
1034 conf->nodename, (const char *)si, (const char *)rsi); 1037 conf->nodename, (const char *)si, (const char *)rsi);
1035 } 1038 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines