diff options
author | Matt Caswell <matt@openssl.org> | 2021-01-20 15:29:59 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-05 15:22:43 +0000 |
commit | e376242d28e08591af229674a2816ac6f4bb8fdf (patch) | |
tree | 375da20102fdc45ce4553a578e6e7cf13fb7ad75 /ssl/t1_enc.c | |
parent | 462f4f4bc0eeb6505a8914bd751b3f20b43ea778 (diff) |
Remove all OPENSSL_NO_XXX from libssl where XXX is a crypto alg
We should no longer be relying on compile time checks in libssl for
the availability of crypto algorithms. The availability of crypto
algorithms should be determined at runtime based on what providers have
been loaded.
Fixes #13616
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13916)
Diffstat (limited to 'ssl/t1_enc.c')
-rw-r--r-- | ssl/t1_enc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 67d148473e..531872bfb0 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -597,10 +597,8 @@ int tls1_setup_key_block(SSL *s) if (s->session->cipher->algorithm_enc == SSL_eNULL) s->s3.need_empty_fragments = 0; -#ifndef OPENSSL_NO_RC4 if (s->session->cipher->algorithm_enc == SSL_RC4) s->s3.need_empty_fragments = 0; -#endif } } |