diff options
Diffstat (limited to 'src/lib/libssl/d1_both.c')
| -rw-r--r-- | src/lib/libssl/d1_both.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 7762ccdee6..db57bf9d3d 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
| @@ -1137,6 +1137,8 @@ dtls1_buffer_message(SSL *s, int is_ccs) | |||
| 1137 | OPENSSL_assert(s->init_off == 0); | 1137 | OPENSSL_assert(s->init_off == 0); |
| 1138 | 1138 | ||
| 1139 | frag = dtls1_hm_fragment_new(s->init_num, 0); | 1139 | frag = dtls1_hm_fragment_new(s->init_num, 0); |
| 1140 | if (frag == NULL) | ||
| 1141 | return 0; | ||
| 1140 | 1142 | ||
| 1141 | memcpy(frag->fragment, s->init_buf->data, s->init_num); | 1143 | memcpy(frag->fragment, s->init_buf->data, s->init_num); |
| 1142 | 1144 | ||
