diff options
-rw-r--r-- | monitor.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.160 2016/05/02 10:26:04 djm Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.161 2016/07/22 03:39:13 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -1258,6 +1258,10 @@ mm_answer_keyallowed(int sock, Buffer *m) | |||
1258 | break; | 1258 | break; |
1259 | } | 1259 | } |
1260 | } | 1260 | } |
1261 | |||
1262 | debug3("%s: key %p is %s", | ||
1263 | __func__, key, allowed ? "allowed" : "not allowed"); | ||
1264 | |||
1261 | if (key != NULL) | 1265 | if (key != NULL) |
1262 | key_free(key); | 1266 | key_free(key); |
1263 | 1267 | ||
@@ -1279,9 +1283,6 @@ mm_answer_keyallowed(int sock, Buffer *m) | |||
1279 | free(chost); | 1283 | free(chost); |
1280 | } | 1284 | } |
1281 | 1285 | ||
1282 | debug3("%s: key %p is %s", | ||
1283 | __func__, key, allowed ? "allowed" : "not allowed"); | ||
1284 | |||
1285 | buffer_clear(m); | 1286 | buffer_clear(m); |
1286 | buffer_put_int(m, allowed); | 1287 | buffer_put_int(m, allowed); |
1287 | buffer_put_int(m, forced_command != NULL); | 1288 | buffer_put_int(m, forced_command != NULL); |