summaryrefslogtreecommitdiff
path: root/usr.sbin/ikectl/ikeca.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ikectl/ikeca.c')
-rw-r--r--usr.sbin/ikectl/ikeca.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ikectl/ikeca.c b/usr.sbin/ikectl/ikeca.c
index cee6623a30f..a6756825209 100644
--- a/usr.sbin/ikectl/ikeca.c
+++ b/usr.sbin/ikectl/ikeca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikeca.c,v 1.42 2017/03/29 08:19:13 sthen Exp $ */
+/* $OpenBSD: ikeca.c,v 1.43 2017/05/21 02:37:52 deraadt Exp $ */
/*
* Copyright (c) 2010 Jonathan Gray <jsg@openbsd.org>
@@ -924,9 +924,7 @@ ca_revoke(struct ca *ca, char *keyname)
pass, ca->sslpath, ca->sslpath);
system(cmd);
- explicit_bzero(pass, len);
- free(pass);
-
+ freezero(pass, len);
return (0);
}