Hi all, The cookie length field in the ServerHello message is always zero because we are setting the length field before the cookie callback function.
Please find patch attach to fix this. Thanks, alex
Index: d1_srvr.c =================================================================== RCS file: /data1/Repository/openssl/ssl/d1_srvr.c,v retrieving revision 1.2.2.10 diff -r1.2.2.10 d1_srvr.c 634,635d633 < *(p++) = (unsigned char) s->d1->cookie_len; < 645a644,645 > *(p++) = (unsigned char) s->d1->cookie_len; >
