]> diplodocus.org Git - nmh/commitdiff
Print out more TLS information if -snoop is turned on.
authorKen Hornstein <kenh@pobox.com>
Mon, 31 Oct 2016 01:20:36 +0000 (21:20 -0400)
committerKen Hornstein <kenh@pobox.com>
Wed, 2 Nov 2016 03:14:10 +0000 (23:14 -0400)
sbr/netsec.c

index 43d6367..601e2b7 100644 (file)
@@ -1571,6 +1571,7 @@ netsec_negotiate_tls(netsec_context *nsc, char **errstr)
                    SSL_CIPHER_get_name(cipher),
                    SSL_CIPHER_get_bits(cipher, NULL),
                    SSL_CIPHER_get_version(cipher));
+           SSL_SESSION_print_fp(stderr, SSL_get_session(ssl));
        }
     }