summaryrefslogtreecommitdiffstats
path: root/lib/libssl/d1_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2015-09-10 15:56:24 +0000
committerjsing <jsing@openbsd.org>2015-09-10 15:56:24 +0000
commit0f777b12ad023193791105beba95cb4fa7d67201 (patch)
tree60a255db2a046668cf589c4900cc8b4aeeb45fab /lib/libssl/d1_lib.c
parentreduce more .Nd to one line and kill more .Tn (diff)
downloadwireguard-openbsd-0f777b12ad023193791105beba95cb4fa7d67201.tar.xz
wireguard-openbsd-0f777b12ad023193791105beba95cb4fa7d67201.zip
Correct spelling of OPENSSL_cleanse.
ok miod@
Diffstat (limited to 'lib/libssl/d1_lib.c')
-rw-r--r--lib/libssl/d1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/d1_lib.c b/lib/libssl/d1_lib.c
index b269efe4690..e7eca4a8cd4 100644
--- a/lib/libssl/d1_lib.c
+++ b/lib/libssl/d1_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: d1_lib.c,v 1.29 2015/07/19 20:32:18 doug Exp $ */
+/* $OpenBSD: d1_lib.c,v 1.30 2015/09/10 15:56:26 jsing Exp $ */
/*
* DTLS implementation written by Nagendra Modadugu
* (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -203,7 +203,7 @@ dtls1_free(SSL *s)
pqueue_free(s->d1->sent_messages);
pqueue_free(s->d1->buffered_app_data.q);
- OPENSSL_cleanse(s->d1, sizeof *s->d1);
+ explicit_bzero(s->d1, sizeof *s->d1);
free(s->d1);
s->d1 = NULL;
}