summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_enc.c')
-rw-r--r--src/lib/libssl/d1_enc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/d1_enc.c b/src/lib/libssl/d1_enc.c
index 7eac48785e..c58e109ae5 100644
--- a/src/lib/libssl/d1_enc.c
+++ b/src/lib/libssl/d1_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_enc.c,v 1.9 2014/12/14 15:30:50 jsing Exp $ */ 1/* $OpenBSD: d1_enc.c,v 1.10 2015/07/17 07:04:40 doug Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -187,10 +187,6 @@ dtls1_enc(SSL *s, int send)
187 187
188 /* we need to add 'i' padding bytes of value j */ 188 /* we need to add 'i' padding bytes of value j */
189 j = i - 1; 189 j = i - 1;
190 if (s->options & SSL_OP_TLS_BLOCK_PADDING_BUG) {
191 if (s->s3->flags & TLS1_FLAGS_TLS_PADDING_BUG)
192 j++;
193 }
194 for (k = (int)l; k < (int)(l + i); k++) 190 for (k = (int)l; k < (int)(l + i); k++)
195 rec->input[k] = j; 191 rec->input[k] = j;
196 l += i; 192 l += i;