Hi,

In OpenSSL release version "OpenSSL 1.0.0 29 Mar 2010" I believe there is 
wrong pointer in a #ifdef TLS_DEBUG block.

In file, ssl/t1_enc.c, at line 911, the code is:
{unsigned int z; for (z=0; z<rec->length; z++) printf("%02X ",buf[z]); 
printf("\n"); }

I believe this should be:
{unsigned int z; for (z=0; z<rec->length; z++) printf("%02X ",rec->data[z]); 
printf("\n"); }

The difference is that in the original, the data being printed is coming from 
the struct named 'buf', but in fact, the data that this loop is supposed to 
print out is the data in rec->data.

Thank you.

Fitz Nowlan

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to