tls: do not compile in TLS_RSA_WITH_NULL_SHA256 code if unreachable
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Apr 2017 23:41:15 +0000 (01:41 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Apr 2017 23:41:15 +0000 (01:41 +0200)
commit5d561ef6349b4b6e1d12ad6638acb46abf1eeca6
tree6b257d8408f6ed30da743f1662e16f50fef9b1bf
parent229d3c467d20bb776edbbb29517df84f09e1e46f
tls: do not compile in TLS_RSA_WITH_NULL_SHA256 code if unreachable

function                                             old     new   delta
tls_handshake                                       1595    1588      -7
xwrite_encrypted                                     244     209     -35

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/tls.c