summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 35ea701b..fb06c496 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -870,7 +870,7 @@ int flow_accept(qosspec_t * qs,
fd = flow_init(&flow, &crypt);
- explicit_bzero(key, SYMMKEYSZ);
+ crypt_secure_clear(key, SYMMKEYSZ);
if (qs != NULL)
*qs = flow.qs;
@@ -917,7 +917,7 @@ int flow_alloc(const char * dst,
fd = flow_init(&flow, &crypt);
- explicit_bzero(key, SYMMKEYSZ);
+ crypt_secure_clear(key, SYMMKEYSZ);
if (qs != NULL)
*qs = flow.qs;
@@ -956,7 +956,7 @@ int flow_join(const char * dst,
fd = flow_init(&flow, &crypt);
- explicit_bzero(key, SYMMKEYSZ);
+ crypt_secure_clear(key, SYMMKEYSZ);
return fd;
}