diff options
author | 2001-02-13 20:30:40 +0000 | |
---|---|---|
committer | 2001-02-13 20:30:40 +0000 | |
commit | 5ffea1c53de28e1c2854c61af1592d2cb7434851 (patch) | |
tree | 8e6a44f3589596dd2d1082a6abf9a79ec0aa70c6 | |
parent | Use MIN, not min when counting the pages we steal. (diff) | |
download | wireguard-openbsd-5ffea1c53de28e1c2854c61af1592d2cb7434851.tar.xz wireguard-openbsd-5ffea1c53de28e1c2854c61af1592d2cb7434851.zip |
Fix authorizer removal problem.
-rw-r--r-- | lib/libkeynote/auxil.c | 4 |
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; |