diff options
Diffstat (limited to 'src/lib/libssl/s3_cbc.c')
-rw-r--r-- | src/lib/libssl/s3_cbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/s3_cbc.c b/src/lib/libssl/s3_cbc.c index 371c68cfcc..8ae87d7303 100644 --- a/src/lib/libssl/s3_cbc.c +++ b/src/lib/libssl/s3_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: s3_cbc.c,v 1.19 2020/03/12 17:01:53 jsing Exp $ */ | 1 | /* $OpenBSD: s3_cbc.c,v 1.20 2020/03/12 17:09:02 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -169,7 +169,7 @@ tls1_cbc_remove_padding(const SSL* s, SSL3_RECORD_INTERNAL *rec, | |||
169 | 169 | ||
170 | padding_length = good & (padding_length + 1); | 170 | padding_length = good & (padding_length + 1); |
171 | rec->length -= padding_length; | 171 | rec->length -= padding_length; |
172 | rec->type |= padding_length<<8; /* kludge: pass padding length */ | 172 | rec->padding_length = padding_length; |
173 | 173 | ||
174 | return (int)((good & 1) | (~good & -1)); | 174 | return (int)((good & 1) | (~good & -1)); |
175 | } | 175 | } |