From b104599baaea3650e67ebeee7b26305acfa94f51 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 27 Mar 2005 10:57:07 +0000 Subject: [PATCH] Fixed EMSI aka handshake --- ChangeLog | 5 ++++- mbcico/emsidat.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0fcff5a1..4c73104c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,8 +12,11 @@ v0.71.2 16-Jan-2005 mbcico: Added protection during binkp receive for zero bytes compressed - data frames, this will case uncompress error -5 because zero + data frames, this will cause uncompress error -5 because zero bytes can't be compressed ar all. + Fixed test for valid aka's in the EMSI handshake that prevented + that host aka's (node /0) were not presented to the remote. + (thanks Przemyslaw Kwiatkowski). mbfido: Empty *.msg netmails for our own system are dropped with and diff --git a/mbcico/emsidat.c b/mbcico/emsidat.c index 3447b8ee..becf3ead 100644 --- a/mbcico/emsidat.c +++ b/mbcico/emsidat.c @@ -99,7 +99,7 @@ char *mkemsidat(int caller) p = xstrcat(p, ascfnode(primary, 0x1f)); for (i = 0; i < 40; i++) - if ((CFG.aka[i].node) && (CFG.akavalid[i]) && + if ((CFG.aka[i].zone) && (CFG.akavalid[i]) && ((CFG.aka[i].zone != primary->zone) || (CFG.aka[i].net != primary->net) || (CFG.aka[i].node != primary->node) || (CFG.aka[i].point!= primary->point))) { p = xstrcat(p, (char *)" ");