summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 448324b81..752af6f93 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.c,v 1.55 2007/02/19 10:45:58 dtucker Exp $ */ 1/* $OpenBSD: monitor_wrap.c,v 1.57 2007/06/07 19:37:34 pvalchev Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -494,8 +494,8 @@ mm_newkeys_from_blob(u_char *blob, int blen)
494 494
495 /* Mac structure */ 495 /* Mac structure */
496 mac->name = buffer_get_string(&b, NULL); 496 mac->name = buffer_get_string(&b, NULL);
497 if (mac->name == NULL || mac_init(mac, mac->name) == -1) 497 if (mac->name == NULL || mac_setup(mac, mac->name) == -1)
498 fatal("%s: can not init mac %s", __func__, mac->name); 498 fatal("%s: can not setup mac %s", __func__, mac->name);
499 mac->enabled = buffer_get_int(&b); 499 mac->enabled = buffer_get_int(&b);
500 mac->key = buffer_get_string(&b, &len); 500 mac->key = buffer_get_string(&b, &len);
501 if (len > mac->key_len) 501 if (len > mac->key_len)