summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/dnssec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/dnssec.c')
-rw-r--r--sbin/isakmpd/dnssec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/dnssec.c b/sbin/isakmpd/dnssec.c
index ab7fc32f696..5704bc8e08b 100644
--- a/sbin/isakmpd/dnssec.c
+++ b/sbin/isakmpd/dnssec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dnssec.c,v 1.24 2015/01/16 06:39:58 deraadt Exp $ */
+/* $OpenBSD: dnssec.c,v 1.25 2015/08/20 22:02:21 deraadt Exp $ */
/*
* Copyright (c) 2001 Håkan Olsson. All rights reserved.
@@ -215,7 +215,7 @@ dns_get_key(int type, struct message *msg, int *keylen)
continue;
}
/* This key seems to fit our requirements... */
- key_rr.data = (char *)malloc(key_rr.datalen);
+ key_rr.data = malloc(key_rr.datalen);
if (!key_rr.data) {
log_error("dns_get_key: malloc (%d) failed",
key_rr.datalen);