projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Standardise our style for checking malloc failures
[openssl.git]
/
ssl
/
statem
/
statem_dtls.c
diff --git
a/ssl/statem/statem_dtls.c
b/ssl/statem/statem_dtls.c
index 58a09594c98bb09f80b15da7f7bd35722dc3307b..aafd28f8de64558ef044231854be4275152365e9 100644
(file)
--- a/
ssl/statem/statem_dtls.c
+++ b/
ssl/statem/statem_dtls.c
@@
-1075,7
+1075,7
@@
int dtls1_buffer_message(SSL *s, int is_ccs)
OPENSSL_assert(s->init_off == 0);
frag = dtls1_hm_fragment_new(s->init_num, 0);
- if (
!frag
)
+ if (
frag == NULL
)
return 0;
memcpy(frag->fragment, s->init_buf->data, s->init_num);