summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authormouring <mouring@cvs.openbsd.org>2002-03-27 17:45:43 +0000
committermouring <mouring@cvs.openbsd.org>2002-03-27 17:45:43 +0000
commit5648db306239bd78ec668cf7a73ca3435a06b9c6 (patch)
tree09647187d32c580e09bb32c438bdf9da755d8cb3 /usr.bin
parentf669fd006e528f67d3ef363fa19ed9b5024470bc (diff)
monitor_allowed_key() returns int instead of pointer. ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/monitor.c b/usr.bin/ssh/monitor.c
index 06e536d8da5..737209daf36 100644
--- a/usr.bin/ssh/monitor.c
+++ b/usr.bin/ssh/monitor.c
@@ -25,7 +25,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: monitor.c,v 1.7 2002/03/24 23:20:00 stevesk Exp $");
+RCSID("$OpenBSD: monitor.c,v 1.8 2002/03/27 17:45:42 mouring Exp $");
#include <openssl/dh.h>
@@ -864,7 +864,7 @@ mm_answer_keyverify(int socket, Buffer *m)
data = buffer_get_string(m, &datalen);
if (hostbased_cuser == NULL || hostbased_chost == NULL ||
- monitor_allowed_key(blob, bloblen) == NULL)
+ !monitor_allowed_key(blob, bloblen))
fatal("%s: bad key, not previously allowed", __FUNCTION__);
key = key_from_blob(blob, bloblen);