summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
-rw-r--r--src/lib/libssl/d1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c
index b269efe469..e7eca4a8cd 100644
--- a/src/lib/libssl/d1_lib.c
+++ b/src/lib/libssl/d1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: d1_lib.c,v 1.29 2015/07/19 20:32:18 doug Exp $ */ 1/* $OpenBSD: d1_lib.c,v 1.30 2015/09/10 15:56:26 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.
@@ -203,7 +203,7 @@ dtls1_free(SSL *s)
203 pqueue_free(s->d1->sent_messages); 203 pqueue_free(s->d1->sent_messages);
204 pqueue_free(s->d1->buffered_app_data.q); 204 pqueue_free(s->d1->buffered_app_data.q);
205 205
206 OPENSSL_cleanse(s->d1, sizeof *s->d1); 206 explicit_bzero(s->d1, sizeof *s->d1);
207 free(s->d1); 207 free(s->d1);
208 s->d1 = NULL; 208 s->d1 = NULL;
209} 209}