From fb588bf74d5cd70282a084f4986770056955d2a5 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Tue, 13 Feb 2001 20:30:41 +0000 Subject: Fix authorizer removal problem. --- lib/libkeynote/auxil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; -- cgit v1.2.3