summaryrefslogtreecommitdiff
path: root/lib/libkeynote/auxil.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-02-13 20:30:41 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-02-13 20:30:41 +0000
commitfb588bf74d5cd70282a084f4986770056955d2a5 (patch)
treeb18be8bd8758dc9be1bbe162e51e8f8d0857ee88 /lib/libkeynote/auxil.c
parentcdd6f94f6b5a13d9be5e278a0388139076d0f68d (diff)
Fix authorizer removal problem.
Diffstat (limited to 'lib/libkeynote/auxil.c')
-rw-r--r--lib/libkeynote/auxil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkeynote/auxil.c b/lib/libkeynote/auxil.c
index 2e9006f405a..098f66d16cb 100644
--- a/lib/libkeynote/auxil.c
+++ b/lib/libkeynote/auxil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auxil.c,v 1.5 2000/10/03 01:33:55 angelos Exp $ */
+/* $OpenBSD: auxil.c,v 1.6 2001/02/13 20:30:40 angelos Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
*
@@ -213,7 +213,7 @@ kn_remove_authorizer(int sessid, char *key)
}
for (; kl->key_next != (struct keylist *) NULL; kl = kl->key_next)
- if (!strcmp(kl->key_stringkey, key))
+ if (!strcmp(kl->key_next->key_stringkey, key))
{
kl2 = kl->key_next;
kl->key_next = kl2->key_next;