diff options
| author | beck <> | 2017-01-23 08:48:45 +0000 |
|---|---|---|
| committer | beck <> | 2017-01-23 08:48:45 +0000 |
| commit | 0927493f531adeabf84d55b13ddacdc96243c148 (patch) | |
| tree | e1f210556179334ded73129e6e0733758fe22365 /src/lib/libssl/t1_lib.c | |
| parent | ba841e9426c50ad2174e15eea62a99c0bf5dce1b (diff) | |
| download | openbsd-0927493f531adeabf84d55b13ddacdc96243c148.tar.gz openbsd-0927493f531adeabf84d55b13ddacdc96243c148.tar.bz2 openbsd-0927493f531adeabf84d55b13ddacdc96243c148.zip | |
send state and rstate from ssl_st into internal. There are accessors
so these should not be diddled with directly
ok jsing@
Diffstat (limited to 'src/lib/libssl/t1_lib.c')
| -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 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; |
