diff options
Diffstat (limited to 'src/lib/libssl/d1_pkt.c')
| -rw-r--r-- | src/lib/libssl/d1_pkt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index c64aa8f106..f15b64364e 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_pkt.c,v 1.57 2017/01/23 13:36:13 jsing Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.58 2017/01/23 14:35:42 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -894,7 +894,7 @@ start: | |||
| 894 | return (-1); | 894 | return (-1); |
| 895 | } | 895 | } |
| 896 | 896 | ||
| 897 | if (!(s->mode & SSL_MODE_AUTO_RETRY)) { | 897 | if (!(s->internal->mode & SSL_MODE_AUTO_RETRY)) { |
| 898 | if (s->s3->rbuf.left == 0) /* no read-ahead left? */ | 898 | if (s->s3->rbuf.left == 0) /* no read-ahead left? */ |
| 899 | { | 899 | { |
| 900 | BIO *bio; | 900 | BIO *bio; |
| @@ -1049,7 +1049,7 @@ start: | |||
| 1049 | return (-1); | 1049 | return (-1); |
| 1050 | } | 1050 | } |
| 1051 | 1051 | ||
| 1052 | if (!(s->mode & SSL_MODE_AUTO_RETRY)) { | 1052 | if (!(s->internal->mode & SSL_MODE_AUTO_RETRY)) { |
| 1053 | if (s->s3->rbuf.left == 0) /* no read-ahead left? */ | 1053 | if (s->s3->rbuf.left == 0) /* no read-ahead left? */ |
| 1054 | { | 1054 | { |
| 1055 | BIO *bio; | 1055 | BIO *bio; |
| @@ -1258,7 +1258,7 @@ do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len) | |||
| 1258 | * (this is a bit of a boundary violation, but what the heck). | 1258 | * (this is a bit of a boundary violation, but what the heck). |
| 1259 | */ | 1259 | */ |
| 1260 | if (s->internal->enc_write_ctx && | 1260 | if (s->internal->enc_write_ctx && |
| 1261 | (EVP_CIPHER_mode( s->internal->enc_write_ctx->cipher ) & EVP_CIPH_CBC_MODE)) | 1261 | (EVP_CIPHER_mode(s->internal->enc_write_ctx->cipher) & EVP_CIPH_CBC_MODE)) |
| 1262 | bs = EVP_CIPHER_block_size(s->internal->enc_write_ctx->cipher); | 1262 | bs = EVP_CIPHER_block_size(s->internal->enc_write_ctx->cipher); |
| 1263 | else | 1263 | else |
| 1264 | bs = 0; | 1264 | bs = 0; |
