|
Lines 16-21
Link Here
|
| 16 |
#include <openssl/rand.h> |
16 |
#include <openssl/rand.h> |
| 17 |
#include "record_local.h" |
17 |
#include "record_local.h" |
| 18 |
#include "../packet_local.h" |
18 |
#include "../packet_local.h" |
|
|
19 |
#include "internal/cryptlib.h" |
| 19 |
|
20 |
|
| 20 |
#if defined(OPENSSL_SMALL_FOOTPRINT) || \ |
21 |
#if defined(OPENSSL_SMALL_FOOTPRINT) || \ |
| 21 |
!( defined(AESNI_ASM) && ( \ |
22 |
!( defined(AESNI_ASM) && ( \ |
|
Lines 225-230
int ssl3_read_n(SSL *s, size_t n, size_t
Link Here
|
| 225 |
s->rlayer.packet_length = 0; |
226 |
s->rlayer.packet_length = 0; |
| 226 |
/* ... now we can act as if 'extend' was set */ |
227 |
/* ... now we can act as if 'extend' was set */ |
| 227 |
} |
228 |
} |
|
|
229 |
if (!ossl_assert(s->rlayer.packet != NULL)) { |
| 230 |
/* does not happen */ |
| 231 |
SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_F_SSL3_READ_N, |
| 232 |
ERR_R_INTERNAL_ERROR); |
| 233 |
return -1; |
| 234 |
} |
| 228 |
|
235 |
|
| 229 |
len = s->rlayer.packet_length; |
236 |
len = s->rlayer.packet_length; |
| 230 |
pkt = rb->buf + align; |
237 |
pkt = rb->buf + align; |