diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-27 18:00:59 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-03-27 18:00:59 +0000 |
commit | b57a4bf93f02d4012ca28f170938fb7a66e0219b (patch) | |
tree | 5bd8e7fe935d46cac8c21fcc4bc64a2735045cf6 /monitor.c | |
parent | 599717246c9c57e6ff895d25d6508de66963f2a3 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: monitor.c,v 1.7 2002/03/24 23:20:00 stevesk Exp $"); | 28 | RCSID("$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); |