summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/t1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index f0a9ed5dc1..fb01bfcfac 100644
--- a/src/lib/libssl/t1_lib.c
+++ b/src/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_lib.c,v 1.103 2017/01/23 06:45:30 beck Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.104 2017/01/23 08:48:45 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -924,7 +924,7 @@ skip_ext:
924 * includes the 5-byte record header in the buffer, while the 924 * includes the 5-byte record header in the buffer, while the
925 * code in s3_clnt.c does not. 925 * code in s3_clnt.c does not.
926 */ 926 */
927 if (s->state == SSL23_ST_CW_CLNT_HELLO_A) 927 if (s->internal->state == SSL23_ST_CW_CLNT_HELLO_A)
928 hlen -= 5; 928 hlen -= 5;
929 if (hlen > 0xff && hlen < 0x200) { 929 if (hlen > 0xff && hlen < 0x200) {
930 hlen = 0x200 - hlen; 930 hlen = 0x200 - hlen;