diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libssl/d1_both.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 5c93af8bd9..b479c61322 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_both.c,v 1.33 2015/07/18 23:00:23 doug Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.34 2015/07/19 20:32:18 doug 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. |
@@ -209,6 +209,8 @@ dtls1_hm_fragment_new(unsigned long frag_len, int reassembly) | |||
209 | static void | 209 | static void |
210 | dtls1_hm_fragment_free(hm_fragment *frag) | 210 | dtls1_hm_fragment_free(hm_fragment *frag) |
211 | { | 211 | { |
212 | if (frag == NULL) | ||
213 | return; | ||
212 | 214 | ||
213 | if (frag->msg_header.is_ccs) { | 215 | if (frag->msg_header.is_ccs) { |
214 | EVP_CIPHER_CTX_free( | 216 | EVP_CIPHER_CTX_free( |