summaryrefslogtreecommitdiff
path: root/mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'mac.c')
-rw-r--r--mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac.c b/mac.c
index e8b4267c3..bb342cef4 100644
--- a/mac.c
+++ b/mac.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: mac.c,v 1.2 2001/04/05 10:42:51 markus Exp $"); 26RCSID("$OpenBSD: mac.c,v 1.3 2001/12/19 07:18:56 deraadt Exp $");
27 27
28#include <openssl/hmac.h> 28#include <openssl/hmac.h>
29 29
@@ -99,7 +99,7 @@ mac_valid(const char *names)
99 return (0); 99 return (0);
100 maclist = cp = xstrdup(names); 100 maclist = cp = xstrdup(names);
101 for ((p = strsep(&cp, MAC_SEP)); p && *p != '\0'; 101 for ((p = strsep(&cp, MAC_SEP)); p && *p != '\0';
102 (p = strsep(&cp, MAC_SEP))) { 102 (p = strsep(&cp, MAC_SEP))) {
103 if (mac_init(NULL, p) < 0) { 103 if (mac_init(NULL, p) < 0) {
104 debug("bad mac %s [%s]", p, names); 104 debug("bad mac %s [%s]", p, names);
105 xfree(maclist); 105 xfree(maclist);