[openssl-dev] ssl/t1_enc.c with TLS_DEBUG

Gisle Vanem gvanem at yahoo.no
Thu Feb 18 12:38:56 UTC 2016


The ssl/t1_enc.c file doesn't compile with '-DTLS_DEBUG':

  ssl/t1_enc.c: In function 'tls1_setup_key_block':
  ssl/t1_enc.c:528:30: error: 'p1' undeclared (first use in this function)
             printf("%02X%c", p1[z], ((z + 1) % 16) ? ' ' : '\n');

I assume that should be:
   printf("%02X%c", p[z], ((z + 1) % 16) ? ' ' : '\n');

Besides, enabling '-DCIPHER_DEBUG', also generates lots of warnings.


-- 
--gv


More information about the openssl-dev mailing list