summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authormouring <mouring>2002-03-27 18:00:59 +0000
committermouring <mouring>2002-03-27 18:00:59 +0000
commitd337adf6ecfeca4fa67224fdc767ea5428e65d8d (patch)
tree3e0b2cfdf3506425b039de4740a02085a52a887d /monitor.c
parent62d4d9622dfa6dc1e5ba9abf37da235f3d5d99fb (diff)
downloadopenssh-d337adf6ecfeca4fa67224fdc767ea5428e65d8d.tar.gz
- mouring@cvs.openbsd.org 2002/03/27 11:45:42
[monitor.c] monitor_allowed_key() returns int instead of pointer. ok markus@
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 8f682e5b..00801079 100644
--- a/monitor.c
+++ b/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>
@@ -866,7 +866,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);