summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-27 18:00:59 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-27 18:00:59 +0000
commitb57a4bf93f02d4012ca28f170938fb7a66e0219b (patch)
tree5bd8e7fe935d46cac8c21fcc4bc64a2735045cf6 /monitor.c
parent599717246c9c57e6ff895d25d6508de66963f2a3 (diff)
- 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 8f682e5bc..008010795 100644
--- a/monitor.c
+++ b/monitor.c
@@ -25,7 +25,7 @@
25 */ 25 */
26 26
27#include "includes.h" 27#include "includes.h"
28RCSID("$OpenBSD: monitor.c,v 1.7 2002/03/24 23:20:00 stevesk Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.8 2002/03/27 17:45:42 mouring Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -866,7 +866,7 @@ mm_answer_keyverify(int socket, Buffer *m)
866 data = buffer_get_string(m, &datalen); 866 data = buffer_get_string(m, &datalen);
867 867
868 if (hostbased_cuser == NULL || hostbased_chost == NULL || 868 if (hostbased_cuser == NULL || hostbased_chost == NULL ||
869 monitor_allowed_key(blob, bloblen) == NULL) 869 !monitor_allowed_key(blob, bloblen))
870 fatal("%s: bad key, not previously allowed", __FUNCTION__); 870 fatal("%s: bad key, not previously allowed", __FUNCTION__);
871 871
872 key = key_from_blob(blob, bloblen); 872 key = key_from_blob(blob, bloblen);