diff options
Diffstat (limited to 'src/lib/libssl/d1_pkt.c')
-rw-r--r-- | src/lib/libssl/d1_pkt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index f888592223..0caf2a5965 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_pkt.c,v 1.75 2020/08/01 16:50:16 jsing Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.76 2020/08/02 07:33:15 jsing 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. |
@@ -1254,8 +1254,8 @@ do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len) | |||
1254 | wr->input = p; | 1254 | wr->input = p; |
1255 | wr->length += eivlen; | 1255 | wr->length += eivlen; |
1256 | 1256 | ||
1257 | /* tls1_enc can only have an error on read */ | 1257 | if (tls1_enc(s, 1) != 1) |
1258 | tls1_enc(s, 1); | 1258 | goto err; |
1259 | 1259 | ||
1260 | if (!CBB_add_u16(&cbb, wr->length)) | 1260 | if (!CBB_add_u16(&cbb, wr->length)) |
1261 | goto err; | 1261 | goto err; |