Commit 79c270d5fab3de5b15398369e2676f0b792c0657

Authored by perry.werneck@gmail.com
1 parent 2a50d6b6

Incluindo resultado da verificação de certificado no trace

Showing 1 changed file with 5 additions and 1 deletions   Show diff stats
src/lib3270/telnet.c
... ... @@ -854,7 +854,11 @@ static void ssl_negotiate(H3270 *hSession)
854 854  
855 855 trace_dsn(hSession,"TLS/SSL cipher description: %s",SSL_CIPHER_description(cipher, buffer, 4095));
856 856 SSL_CIPHER_get_bits(cipher, &alg_bits);
857   - trace_dsn(hSession,"%s version %s with %d bits\n",SSL_CIPHER_get_name(cipher),SSL_CIPHER_get_version(cipher),alg_bits);
  857 + trace_dsn(hSession,"%s version %s with %d bits verify=%ld\n",
  858 + SSL_CIPHER_get_name(cipher),
  859 + SSL_CIPHER_get_version(cipher),
  860 + alg_bits,
  861 + SSL_get_verify_result(hSession->ssl_con));
858 862 }
859 863  
860 864 /* Tell the world that we are (still) connected, now in secure mode. */
... ...