Only perform special TLS handling if TLS has been configured
authorMatt Caswell <matt@openssl.org>
Mon, 4 Jan 2021 17:29:35 +0000 (17:29 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Jan 2021 11:08:35 +0000 (11:08 +0000)
commite260bee0a97d4e6de60eae2c86d7c11ed03f2010
treee51b058105c4ff2d0a47c70611d7609252418756
parent7c0e98a5c40806ff9dde15cf4a619cc931800fd9
Only perform special TLS handling if TLS has been configured

Skip over special TLS steps for stream ciphers if we haven't been
configured for TLS.

Fixes #12528

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/13774)
providers/implementations/ciphers/ciphercommon.c