char: don't silently skip tn3270 protocol init when TLS is enabled
commit63bab2b69688dee0ddadff7449143830e59567cd
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 21 Dec 2017 10:52:37 +0000 (21 10:52 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 13 Mar 2018 16:32:15 +0000 (13 16:32 +0000)
tree69340a351e0ecd0cba88f7b0ec463719a505d243
parent59667bb167f773965ce6547352f312eff0d4d523
char: don't silently skip tn3270 protocol init when TLS is enabled

Even if common tn3270 implementations do not support TLS, it is trivial to
have them proxied over a proxy like stunnel which adds TLS at the sockets
layer. We should thus not silently skip tn3270 protocol initialization
when TLS is enabled.

Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
chardev/char-socket.c