summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 69a51fc98..e07e97eac 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.27 2002/09/23 22:11:05 markus Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.28 2002/09/24 08:46:04 markus Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -1299,7 +1299,8 @@ mm_answer_krb5(int socket, Buffer *m)
1299 tkt.data = buffer_get_string(m, &len); 1299 tkt.data = buffer_get_string(m, &len);
1300 tkt.length = len; 1300 tkt.length = len;
1301 1301
1302 success = (options.kerberos_authentication == 1) && 1302 success = options.kerberos_authentication &&
1303 authctxt->valid &&
1303 auth_krb5(authctxt, &tkt, &client_user, &reply); 1304 auth_krb5(authctxt, &tkt, &client_user, &reply);
1304 1305
1305 if (tkt.length) 1306 if (tkt.length)