diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/t1_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c index 2cb47a215c..eb2314ac26 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.116 2017/05/06 22:24:58 beck Exp $ */ | 1 | /* $OpenBSD: t1_lib.c,v 1.117 2017/05/07 04:22:24 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 | * |
@@ -967,7 +967,7 @@ skip_ext: | |||
967 | * includes the 5-byte record header in the buffer, while the | 967 | * includes the 5-byte record header in the buffer, while the |
968 | * code in s3_clnt.c does not. | 968 | * code in s3_clnt.c does not. |
969 | */ | 969 | */ |
970 | if (s->internal->state == SSL23_ST_CW_CLNT_HELLO_A) | 970 | if (S3I(s)->hs.state == SSL23_ST_CW_CLNT_HELLO_A) |
971 | hlen -= 5; | 971 | hlen -= 5; |
972 | if (hlen > 0xff && hlen < 0x200) { | 972 | if (hlen > 0xff && hlen < 0x200) { |
973 | hlen = 0x200 - hlen; | 973 | hlen = 0x200 - hlen; |