summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/tls12_record_layer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/tls12_record_layer.c b/src/lib/libssl/tls12_record_layer.c
index 83d71d1c7a..b45a625fd4 100644
--- a/src/lib/libssl/tls12_record_layer.c
+++ b/src/lib/libssl/tls12_record_layer.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls12_record_layer.c,v 1.13 2021/01/19 19:07:39 jsing Exp $ */ 1/* $OpenBSD: tls12_record_layer.c,v 1.14 2021/01/20 07:05:25 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -1041,7 +1041,7 @@ tls12_record_layer_seal_record_protected_cipher(struct tls12_record_layer *rl,
1041 goto err; 1041 goto err;
1042 } 1042 }
1043 1043
1044 plain_len = (size_t)eiv_len + content_len + mac_len; 1044 plain_len = eiv_len + content_len + mac_len;
1045 1045
1046 /* Add padding to block size, if necessary. */ 1046 /* Add padding to block size, if necessary. */
1047 if (!tls12_record_protection_block_size(rl->write, &block_size)) 1047 if (!tls12_record_protection_block_size(rl->write, &block_size))