show local and remote id affter tlspool_starttls return
authorHenri Manson <hfmanson@gmail.com>
Sun, 28 Apr 2019 11:19:58 +0000 (11:19 +0000)
committerHenri Manson <hfmanson@gmail.com>
Sun, 28 Apr 2019 11:19:58 +0000 (11:19 +0000)
tool/chatcli.c
tool/chatsrv.c

index c2adeeb..abaefc8 100644 (file)
@@ -266,7 +266,7 @@ reconnect:
        } else {
                printf ("SIGCONT will trigger renegotiation of the TLS handshake\n");
        }
-       printf ("DEBUG: Local plainfd = %d\n", plainfd);
+       printf ("DEBUG: Local plainfd = %d, localid = %s, remoteid = %s\n", plainfd, tlsdata_cli.localid, tlsdata_cli.remoteid);
        runterminal (plainfd, &sigcont, &tlsdata_cli,
                        PIOF_STARTTLS_LOCALROLE_CLIENT | PIOF_STARTTLS_REMOTEROLE_SERVER | PIOF_STARTTLS_RENEGOTIATE,
                        "testcli@tlspool.arpa2.lab",
index 5287cd6..10918b1 100644 (file)
@@ -321,7 +321,7 @@ reconnect:
                } else {
                        printf ("SIGCONT will trigger renegotiation of the TLS handshake during a connection\n");
                }
-               printf ("DEBUG: Local plainfd = %d\n", plainfd);
+               printf ("DEBUG: Local plainfd = %d, localid = %s, remoteid = %s\n", plainfd, tlsdata_now.localid, tlsdata_now.remoteid);
                runterminal (plainfd, &sigcont, &tlsdata_now,
                                PIOF_STARTTLS_LOCALROLE_SERVER | PIOF_STARTTLS_REMOTEROLE_CLIENT | PIOF_STARTTLS_RENEGOTIATE,
                                "testsrv@tlspool.arpa2.lab",