From f42361df22e89d2e6f07fc5527f0292d80f26604 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Sun, 19 Feb 2012 18:33:16 +0100 Subject: [PATCH] de-fatal mac.c --- ssh/mac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ssh/mac.c b/ssh/mac.c index 279b246..9f4bee0 100644 --- a/ssh/mac.c +++ b/ssh/mac.c @@ -30,7 +30,6 @@ #include #include -#include "xmalloc.h" #include "log.h" #include "cipher.h" #include "buffer.h" @@ -184,7 +183,7 @@ mac_valid(const char *names) if (names == NULL || strcmp(names, "") == 0) return 0; - if ((maclist = cp = xstrdup(names)) == NULL) + if ((maclist = cp = strdup(names)) == NULL) return 0; for ((p = strsep(&cp, MAC_SEP)); p && *p != '\0'; (p = strsep(&cp, MAC_SEP))) {