aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorFrederik Wedel-Heinen <frederik.wedel-heinen@dencrypt.dk>2024-04-04 13:30:59 +0200
committerTomas Mraz <tomas@openssl.org>2024-05-14 15:34:07 +0200
commit125719ba1190d2f3e0587221514ddfb8c5e11ef7 (patch)
tree071c664537fd4831e9bf33c533cbe95ebf317282 /ssl/ssl_local.h
parenta401aaf9ed6eb34842cdedfcc35448bdc4174df3 (diff)
downloadopenssl-125719ba1190d2f3e0587221514ddfb8c5e11ef7.tar.gz
Remove SSL_ENC_FLAG_EXPLICIT_IV which is only set and never read.
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24036)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 78e16354e0..49a514fee4 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -274,9 +274,6 @@
# define SSL_IS_FIRST_HANDSHAKE(s) ((s)->s3.tmp.finish_md_len == 0 \
|| (s)->s3.tmp.peer_finish_md_len == 0)
-/* See if we need explicit IV */
-# define SSL_USE_EXPLICIT_IV(s) \
- (SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_EXPLICIT_IV)
/*
* See if we use signature algorithms extension and signature algorithm
* before signatures.
@@ -2156,8 +2153,6 @@ typedef struct ssl3_enc_method {
/* Values for enc_flags */
-/* Uses explicit IV for CBC mode */
-# define SSL_ENC_FLAG_EXPLICIT_IV 0x1
/* Uses signature algorithms extension */
# define SSL_ENC_FLAG_SIGALGS 0x2
/* Uses SHA256 default PRF */