diff options
author | djm <djm> | 2006-03-25 13:06:48 +0000 |
---|---|---|
committer | djm <djm> | 2006-03-25 13:06:48 +0000 |
commit | 58d358db28b5a56de57b5db757e3a5561d649df9 (patch) | |
tree | 70eaa1e7ec0a89f87db0cae815c61ea68cb17168 /dns.c | |
parent | f95c7ebc441c994ef1d44551b09e69f0543ec135 (diff) | |
download | openssh-58d358db28b5a56de57b5db757e3a5561d649df9.tar.gz |
- deraadt@cvs.openbsd.org 2006/03/20 18:41:43
[dns.c]
cast xstrdup to propert u_char *
Diffstat (limited to 'dns.c')
-rw-r--r-- | dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: dns.c,v 1.17 2006/03/19 18:51:18 deraadt Exp $ */ +/* $OpenBSD: dns.c,v 1.18 2006/03/20 18:41:43 deraadt Exp $ */ /* * Copyright (c) 2003 Wesley Griffin. All rights reserved. @@ -121,7 +121,7 @@ dns_read_rdata(u_int8_t *algorithm, u_int8_t *digest_type, *digest = (u_char *) xmalloc(*digest_len); memcpy(*digest, rdata + 2, *digest_len); } else { - *digest = xstrdup(""); + *digest = (u_char *)xstrdup(""); } success = 1; |