summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/monitor.c b/monitor.c
index 24ad0b794..e6f648b0b 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.63 2005/03/10 22:01:05 deraadt Exp $"); 28RCSID("$OpenBSD: monitor.c,v 1.64 2005/10/13 22:24:31 stevesk Exp $");
29 29
30#include <openssl/dh.h> 30#include <openssl/dh.h>
31 31
@@ -1829,7 +1829,7 @@ mm_answer_gss_setup_ctx(int sock, Buffer *m)
1829 buffer_clear(m); 1829 buffer_clear(m);
1830 buffer_put_int(m, major); 1830 buffer_put_int(m, major);
1831 1831
1832 mm_request_send(sock,MONITOR_ANS_GSSSETUP, m); 1832 mm_request_send(sock, MONITOR_ANS_GSSSETUP, m);
1833 1833
1834 /* Now we have a context, enable the step */ 1834 /* Now we have a context, enable the step */
1835 monitor_permit(mon_dispatch, MONITOR_REQ_GSSSTEP, 1); 1835 monitor_permit(mon_dispatch, MONITOR_REQ_GSSSTEP, 1);
@@ -1842,7 +1842,7 @@ mm_answer_gss_accept_ctx(int sock, Buffer *m)
1842{ 1842{
1843 gss_buffer_desc in; 1843 gss_buffer_desc in;
1844 gss_buffer_desc out = GSS_C_EMPTY_BUFFER; 1844 gss_buffer_desc out = GSS_C_EMPTY_BUFFER;
1845 OM_uint32 major,minor; 1845 OM_uint32 major, minor;
1846 OM_uint32 flags = 0; /* GSI needs this */ 1846 OM_uint32 flags = 0; /* GSI needs this */
1847 u_int len; 1847 u_int len;
1848 1848
@@ -1859,7 +1859,7 @@ mm_answer_gss_accept_ctx(int sock, Buffer *m)
1859 1859
1860 gss_release_buffer(&minor, &out); 1860 gss_release_buffer(&minor, &out);
1861 1861
1862 if (major==GSS_S_COMPLETE) { 1862 if (major == GSS_S_COMPLETE) {
1863 monitor_permit(mon_dispatch, MONITOR_REQ_GSSSTEP, 0); 1863 monitor_permit(mon_dispatch, MONITOR_REQ_GSSSTEP, 0);
1864 monitor_permit(mon_dispatch, MONITOR_REQ_GSSUSEROK, 1); 1864 monitor_permit(mon_dispatch, MONITOR_REQ_GSSUSEROK, 1);
1865 monitor_permit(mon_dispatch, MONITOR_REQ_GSSCHECKMIC, 1); 1865 monitor_permit(mon_dispatch, MONITOR_REQ_GSSCHECKMIC, 1);
@@ -1908,7 +1908,7 @@ mm_answer_gss_userok(int sock, Buffer *m)
1908 debug3("%s: sending result %d", __func__, authenticated); 1908 debug3("%s: sending result %d", __func__, authenticated);
1909 mm_request_send(sock, MONITOR_ANS_GSSUSEROK, m); 1909 mm_request_send(sock, MONITOR_ANS_GSSUSEROK, m);
1910 1910
1911 auth_method="gssapi-with-mic"; 1911 auth_method = "gssapi-with-mic";
1912 1912
1913 /* Monitor loop will terminate if authenticated */ 1913 /* Monitor loop will terminate if authenticated */
1914 return (authenticated); 1914 return (authenticated);