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 824ccf983b..414d493150 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.11 2015/09/11 17:17:44 jsing Exp $ */ | 1 | /* $OpenBSD: s3_cbc.c,v 1.12 2016/03/20 16:50:29 krw 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 | * |
@@ -601,7 +601,7 @@ ssl3_cbc_digest_record(const EVP_MD_CTX *ctx, unsigned char* md_out, | |||
601 | * application data, and we are at the offset for the | 601 | * application data, and we are at the offset for the |
602 | * 0x80 value, then overwrite b with 0x80. */ | 602 | * 0x80 value, then overwrite b with 0x80. */ |
603 | b = (b&~is_past_c) | (0x80&is_past_c); | 603 | b = (b&~is_past_c) | (0x80&is_past_c); |
604 | /* If this the the block containing the end of the | 604 | /* If this is the block containing the end of the |
605 | * application data and we're past the 0x80 value then | 605 | * application data and we're past the 0x80 value then |
606 | * just write zero. */ | 606 | * just write zero. */ |
607 | b = b&~is_past_cp1; | 607 | b = b&~is_past_cp1; |