Lines Matching +full:- +full:m

48 #include "openbsd-compat/sys-queue.h"
60 #include "auth-options.h"
64 #include "auth-pam.h"
67 #include "ssh-gss.h"
94 if (mon->m_log_sendfd == -1) in mm_log_handler()
107 POKE_U32(sshbuf_mutable_ptr(log_msg), len - 4); in mm_log_handler()
108 if (atomicio(vwrite, mon->m_log_sendfd, in mm_log_handler()
121 return (pmonitor && pmonitor->m_pid > 0); in mm_is_monitor()
127 int status = -1; in mm_reap()
131 while (waitpid(pmonitor->m_pid, &status, 0) == -1) { in mm_reap()
134 pmonitor->m_pid = -1; in mm_reap()
156 mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_send() argument
158 size_t mlen = sshbuf_len(m); in mm_request_send()
166 buf[4] = (u_char) type; /* 1st byte of payload is mesg-type */ in mm_request_send()
168 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) { in mm_request_send()
179 mm_request_receive(int sock, struct sshbuf *m) in mm_request_receive() argument
198 sshbuf_reset(m); in mm_request_receive()
199 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) in mm_request_receive()
211 mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_receive_expect() argument
218 mm_request_receive(sock, m); in mm_request_receive_expect()
219 if ((r = sshbuf_get_u8(m, &rtype)) != 0) in mm_request_receive_expect()
232 struct sshbuf *m; in mm_choose_dh() local
234 if ((m = sshbuf_new()) == NULL) in mm_choose_dh()
236 if ((r = sshbuf_put_u32(m, min)) != 0 || in mm_choose_dh()
237 (r = sshbuf_put_u32(m, nbits)) != 0 || in mm_choose_dh()
238 (r = sshbuf_put_u32(m, max)) != 0) in mm_choose_dh()
241 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_MODULI, m); in mm_choose_dh()
244 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_MODULI, m); in mm_choose_dh()
246 if ((r = sshbuf_get_u8(m, &success)) != 0) in mm_choose_dh()
251 if ((r = sshbuf_get_bignum2(m, &p)) != 0 || in mm_choose_dh()
252 (r = sshbuf_get_bignum2(m, &g)) != 0) in mm_choose_dh()
255 debug3_f("remaining %zu", sshbuf_len(m)); in mm_choose_dh()
256 sshbuf_free(m); in mm_choose_dh()
267 struct kex *kex = *pmonitor->m_pkex; in mm_sshkey_sign()
268 struct sshbuf *m; in mm_sshkey_sign() local
269 u_int ndx = kex->host_key_index(key, 0, ssh); in mm_sshkey_sign()
273 if ((m = sshbuf_new()) == NULL) in mm_sshkey_sign()
275 if ((r = sshbuf_put_u32(m, ndx)) != 0 || in mm_sshkey_sign()
276 (r = sshbuf_put_string(m, data, datalen)) != 0 || in mm_sshkey_sign()
277 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign()
278 (r = sshbuf_put_u32(m, compat)) != 0) in mm_sshkey_sign()
281 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SIGN, m); in mm_sshkey_sign()
284 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SIGN, m); in mm_sshkey_sign()
285 if ((r = sshbuf_get_string(m, sigp, lenp)) != 0) in mm_sshkey_sign()
287 sshbuf_free(m); in mm_sshkey_sign()
293 mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m) in mm_decode_activate_server_options() argument
301 if ((r = sshbuf_get_string_direct(m, &p, &len)) != 0) in mm_decode_activate_server_options()
309 if (newopts->x != NULL && \ in mm_decode_activate_server_options()
310 (r = sshbuf_get_cstring(m, &newopts->x, NULL)) != 0) \ in mm_decode_activate_server_options()
314 newopts->x = newopts->nx == 0 ? \ in mm_decode_activate_server_options()
315 NULL : xcalloc(newopts->nx, sizeof(*newopts->x)); \ in mm_decode_activate_server_options()
316 for (i = 0; i < newopts->nx; i++) { \ in mm_decode_activate_server_options()
317 if ((r = sshbuf_get_cstring(m, \ in mm_decode_activate_server_options()
318 &newopts->x[i], NULL)) != 0) \ in mm_decode_activate_server_options()
339 if (len != sizeof(pw->id)) \
341 memcpy(&pw->id, p, len); \
347 struct sshbuf *m; in mm_getpwnamallow() local
356 if ((m = sshbuf_new()) == NULL) in mm_getpwnamallow()
358 if ((r = sshbuf_put_cstring(m, username)) != 0) in mm_getpwnamallow()
361 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PWNAM, m); in mm_getpwnamallow()
364 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PWNAM, m); in mm_getpwnamallow()
366 if ((r = sshbuf_get_u8(m, &ok)) != 0) in mm_getpwnamallow()
375 GETPW(m, pw_uid); in mm_getpwnamallow()
376 GETPW(m, pw_gid); in mm_getpwnamallow()
378 GETPW(m, pw_change); in mm_getpwnamallow()
381 GETPW(m, pw_expire); in mm_getpwnamallow()
383 if ((r = sshbuf_get_cstring(m, &pw->pw_name, NULL)) != 0 || in mm_getpwnamallow()
384 (r = sshbuf_get_cstring(m, &pw->pw_passwd, NULL)) != 0 || in mm_getpwnamallow()
386 (r = sshbuf_get_cstring(m, &pw->pw_gecos, NULL)) != 0 || in mm_getpwnamallow()
389 (r = sshbuf_get_cstring(m, &pw->pw_class, NULL)) != 0 || in mm_getpwnamallow()
391 (r = sshbuf_get_cstring(m, &pw->pw_dir, NULL)) != 0 || in mm_getpwnamallow()
392 (r = sshbuf_get_cstring(m, &pw->pw_shell, NULL)) != 0) in mm_getpwnamallow()
397 mm_decode_activate_server_options(ssh, m); in mm_getpwnamallow()
401 sshbuf_free(m); in mm_getpwnamallow()
409 struct sshbuf *m; in mm_auth2_read_banner() local
415 if ((m = sshbuf_new()) == NULL) in mm_auth2_read_banner()
417 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTH2_READ_BANNER, m); in mm_auth2_read_banner()
418 sshbuf_reset(m); in mm_auth2_read_banner()
420 mm_request_receive_expect(pmonitor->m_recvfd, in mm_auth2_read_banner()
421 MONITOR_ANS_AUTH2_READ_BANNER, m); in mm_auth2_read_banner()
422 if ((r = sshbuf_get_cstring(m, &banner, NULL)) != 0) in mm_auth2_read_banner()
424 sshbuf_free(m); in mm_auth2_read_banner()
439 struct sshbuf *m; in mm_inform_authserv() local
444 if ((m = sshbuf_new()) == NULL) in mm_inform_authserv()
446 if ((r = sshbuf_put_cstring(m, service)) != 0 || in mm_inform_authserv()
447 (r = sshbuf_put_cstring(m, style ? style : "")) != 0) in mm_inform_authserv()
450 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHSERV, m); in mm_inform_authserv()
452 sshbuf_free(m); in mm_inform_authserv()
459 struct sshbuf *m; in mm_auth_password() local
467 if ((m = sshbuf_new()) == NULL) in mm_auth_password()
469 if ((r = sshbuf_put_cstring(m, password)) != 0) in mm_auth_password()
471 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUTHPASSWORD, m); in mm_auth_password()
474 mm_request_receive_expect(pmonitor->m_recvfd, in mm_auth_password()
475 MONITOR_ANS_AUTHPASSWORD, m); in mm_auth_password()
477 if ((r = sshbuf_get_u32(m, &authenticated)) != 0) in mm_auth_password()
480 if ((r = sshbuf_get_u32(m, &maxtries)) != 0) in mm_auth_password()
487 sshbuf_free(m); in mm_auth_password()
512 struct sshbuf *m; in mm_key_allowed() local
521 if ((m = sshbuf_new()) == NULL) in mm_key_allowed()
523 if ((r = sshbuf_put_u32(m, type)) != 0 || in mm_key_allowed()
524 (r = sshbuf_put_cstring(m, user ? user : "")) != 0 || in mm_key_allowed()
525 (r = sshbuf_put_cstring(m, host ? host : "")) != 0 || in mm_key_allowed()
526 (r = sshkey_puts(key, m)) != 0 || in mm_key_allowed()
527 (r = sshbuf_put_u32(m, pubkey_auth_attempt)) != 0) in mm_key_allowed()
530 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_KEYALLOWED, m); in mm_key_allowed()
533 mm_request_receive_expect(pmonitor->m_recvfd, in mm_key_allowed()
534 MONITOR_ANS_KEYALLOWED, m); in mm_key_allowed()
536 if ((r = sshbuf_get_u32(m, &allowed)) != 0) in mm_key_allowed()
539 (r = sshauthopt_deserialise(m, &opts)) != 0) in mm_key_allowed()
541 sshbuf_free(m); in mm_key_allowed()
563 struct sshbuf *m; in mm_sshkey_verify() local
573 if ((m = sshbuf_new()) == NULL) in mm_sshkey_verify()
575 if ((r = sshkey_puts(key, m)) != 0 || in mm_sshkey_verify()
576 (r = sshbuf_put_string(m, sig, siglen)) != 0 || in mm_sshkey_verify()
577 (r = sshbuf_put_string(m, data, datalen)) != 0 || in mm_sshkey_verify()
578 (r = sshbuf_put_cstring(m, sigalg == NULL ? "" : sigalg)) != 0) in mm_sshkey_verify()
581 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_KEYVERIFY, m); in mm_sshkey_verify()
584 mm_request_receive_expect(pmonitor->m_recvfd, in mm_sshkey_verify()
585 MONITOR_ANS_KEYVERIFY, m); in mm_sshkey_verify()
587 if ((r = sshbuf_get_u32(m, &encoded_ret)) != 0 || in mm_sshkey_verify()
588 (r = sshbuf_get_u8(m, &sig_details_present)) != 0) in mm_sshkey_verify()
591 if ((r = sshbuf_get_u32(m, &counter)) != 0 || in mm_sshkey_verify()
592 (r = sshbuf_get_u8(m, &flags)) != 0) in mm_sshkey_verify()
596 (*sig_detailsp)->sk_counter = counter; in mm_sshkey_verify()
597 (*sig_detailsp)->sk_flags = flags; in mm_sshkey_verify()
601 sshbuf_free(m); in mm_sshkey_verify()
611 struct sshbuf *m; in mm_send_keystate() local
614 if ((m = sshbuf_new()) == NULL) in mm_send_keystate()
616 if ((r = ssh_packet_get_state(ssh, m)) != 0) in mm_send_keystate()
618 mm_request_send(monitor->m_recvfd, MONITOR_REQ_KEYEXPORT, m); in mm_send_keystate()
620 sshbuf_free(m); in mm_send_keystate()
626 struct sshbuf *m; in mm_pty_allocate() local
628 int success = 0, tmp1 = -1, tmp2 = -1, r; in mm_pty_allocate()
631 if ((tmp1 = dup(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
632 (tmp2 = dup(pmonitor->m_recvfd)) == -1) { in mm_pty_allocate()
641 if ((m = sshbuf_new()) == NULL) in mm_pty_allocate()
643 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PTY, m); in mm_pty_allocate()
646 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PTY, m); in mm_pty_allocate()
648 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_pty_allocate()
652 sshbuf_free(m); in mm_pty_allocate()
655 if ((r = sshbuf_get_cstring(m, &p, NULL)) != 0 || in mm_pty_allocate()
656 (r = sshbuf_get_cstring(m, &msg, NULL)) != 0) in mm_pty_allocate()
658 sshbuf_free(m); in mm_pty_allocate()
667 if ((*ptyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1 || in mm_pty_allocate()
668 (*ttyfd = mm_receive_fd(pmonitor->m_recvfd)) == -1) in mm_pty_allocate()
678 struct sshbuf *m; in mm_session_pty_cleanup2() local
681 if (s->ttyfd == -1) in mm_session_pty_cleanup2()
683 if ((m = sshbuf_new()) == NULL) in mm_session_pty_cleanup2()
685 if ((r = sshbuf_put_cstring(m, s->tty)) != 0) in mm_session_pty_cleanup2()
687 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PTYCLEANUP, m); in mm_session_pty_cleanup2()
688 sshbuf_free(m); in mm_session_pty_cleanup2()
691 if (s->ptymaster != -1 && close(s->ptymaster) == -1) in mm_session_pty_cleanup2()
692 error("close(s->ptymaster/%d): %s", in mm_session_pty_cleanup2()
693 s->ptymaster, strerror(errno)); in mm_session_pty_cleanup2()
696 s->ttyfd = -1; in mm_session_pty_cleanup2()
703 struct sshbuf *m; in mm_start_pam() local
708 if ((m = sshbuf_new()) == NULL) in mm_start_pam()
710 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_START, m); in mm_start_pam()
712 sshbuf_free(m); in mm_start_pam()
718 struct sshbuf *m; in mm_do_pam_account() local
728 if ((m = sshbuf_new()) == NULL) in mm_do_pam_account()
730 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_ACCOUNT, m); in mm_do_pam_account()
732 mm_request_receive_expect(pmonitor->m_recvfd, in mm_do_pam_account()
733 MONITOR_ANS_PAM_ACCOUNT, m); in mm_do_pam_account()
734 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_do_pam_account()
735 (r = sshbuf_get_cstring(m, &msg, &msglen)) != 0 || in mm_do_pam_account()
740 sshbuf_free(m); in mm_do_pam_account()
750 struct sshbuf *m; in mm_sshpam_init_ctx() local
754 if ((m = sshbuf_new()) == NULL) in mm_sshpam_init_ctx()
756 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, m); in mm_sshpam_init_ctx()
758 mm_request_receive_expect(pmonitor->m_recvfd, in mm_sshpam_init_ctx()
759 MONITOR_ANS_PAM_INIT_CTX, m); in mm_sshpam_init_ctx()
760 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_sshpam_init_ctx()
764 sshbuf_free(m); in mm_sshpam_init_ctx()
767 sshbuf_free(m); in mm_sshpam_init_ctx()
775 struct sshbuf *m; in mm_sshpam_query() local
780 if ((m = sshbuf_new()) == NULL) in mm_sshpam_query()
782 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_QUERY, m); in mm_sshpam_query()
784 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_QUERY, m); in mm_sshpam_query()
785 if ((r = sshbuf_get_u32(m, &ret)) != 0 || in mm_sshpam_query()
786 (r = sshbuf_get_cstring(m, name, NULL)) != 0 || in mm_sshpam_query()
787 (r = sshbuf_get_cstring(m, info, NULL)) != 0 || in mm_sshpam_query()
788 (r = sshbuf_get_u32(m, &n)) != 0 || in mm_sshpam_query()
789 (r = sshbuf_get_u32(m, num)) != 0) in mm_sshpam_query()
799 if ((r = sshbuf_get_cstring(m, &((*prompts)[i]), NULL)) != 0 || in mm_sshpam_query()
800 (r = sshbuf_get_u32(m, &((*echo_on)[i]))) != 0) in mm_sshpam_query()
803 sshbuf_free(m); in mm_sshpam_query()
810 struct sshbuf *m; in mm_sshpam_respond() local
815 if ((m = sshbuf_new()) == NULL) in mm_sshpam_respond()
817 if ((r = sshbuf_put_u32(m, num)) != 0) in mm_sshpam_respond()
820 if ((r = sshbuf_put_cstring(m, resp[i])) != 0) in mm_sshpam_respond()
823 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_RESPOND, m); in mm_sshpam_respond()
825 mm_request_receive_expect(pmonitor->m_recvfd, in mm_sshpam_respond()
826 MONITOR_ANS_PAM_RESPOND, m); in mm_sshpam_respond()
827 if ((r = sshbuf_get_u32(m, &n)) != 0) in mm_sshpam_respond()
831 sshbuf_free(m); in mm_sshpam_respond()
838 struct sshbuf *m; in mm_sshpam_free_ctx() local
841 if ((m = sshbuf_new()) == NULL) in mm_sshpam_free_ctx()
843 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_FREE_CTX, m); in mm_sshpam_free_ctx()
845 mm_request_receive_expect(pmonitor->m_recvfd, in mm_sshpam_free_ctx()
846 MONITOR_ANS_PAM_FREE_CTX, m); in mm_sshpam_free_ctx()
847 sshbuf_free(m); in mm_sshpam_free_ctx()
856 struct sshbuf *m; in mm_terminate() local
858 if ((m = sshbuf_new()) == NULL) in mm_terminate()
860 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_TERM, m); in mm_terminate()
861 sshbuf_free(m); in mm_terminate()
880 struct sshbuf *m; in mm_bsdauth_query() local
887 if ((m = sshbuf_new()) == NULL) in mm_bsdauth_query()
889 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_BSDAUTHQUERY, m); in mm_bsdauth_query()
891 mm_request_receive_expect(pmonitor->m_recvfd, in mm_bsdauth_query()
892 MONITOR_ANS_BSDAUTHQUERY, m); in mm_bsdauth_query()
893 if ((r = sshbuf_get_u32(m, &success)) != 0) in mm_bsdauth_query()
897 sshbuf_free(m); in mm_bsdauth_query()
898 return (-1); in mm_bsdauth_query()
902 if ((r = sshbuf_get_cstring(m, &challenge, NULL)) != 0) in mm_bsdauth_query()
904 sshbuf_free(m); in mm_bsdauth_query()
917 struct sshbuf *m; in mm_bsdauth_respond() local
922 return (-1); in mm_bsdauth_respond()
924 if ((m = sshbuf_new()) == NULL) in mm_bsdauth_respond()
926 if ((r = sshbuf_put_cstring(m, responses[0])) != 0) in mm_bsdauth_respond()
928 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_BSDAUTHRESPOND, m); in mm_bsdauth_respond()
930 mm_request_receive_expect(pmonitor->m_recvfd, in mm_bsdauth_respond()
931 MONITOR_ANS_BSDAUTHRESPOND, m); in mm_bsdauth_respond()
933 if ((r = sshbuf_get_u32(m, &authok)) != 0) in mm_bsdauth_respond()
935 sshbuf_free(m); in mm_bsdauth_respond()
937 return ((authok == 0) ? -1 : 0); in mm_bsdauth_respond()
944 struct sshbuf *m; in mm_audit_event() local
949 if ((m = sshbuf_new()) == NULL) in mm_audit_event()
951 if ((r = sshbuf_put_u32(m, event)) != 0) in mm_audit_event()
954 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUDIT_EVENT, m); in mm_audit_event()
955 sshbuf_free(m); in mm_audit_event()
961 struct sshbuf *m; in mm_audit_run_command() local
966 if ((m = sshbuf_new()) == NULL) in mm_audit_run_command()
968 if ((r = sshbuf_put_cstring(m, command)) != 0) in mm_audit_run_command()
971 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_AUDIT_COMMAND, m); in mm_audit_run_command()
972 sshbuf_free(m); in mm_audit_run_command()
980 struct sshbuf *m; in mm_ssh_gssapi_server_ctx() local
987 if ((m = sshbuf_new()) == NULL) in mm_ssh_gssapi_server_ctx()
989 if ((r = sshbuf_put_string(m, goid->elements, goid->length)) != 0) in mm_ssh_gssapi_server_ctx()
992 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSSETUP, m); in mm_ssh_gssapi_server_ctx()
993 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSSETUP, m); in mm_ssh_gssapi_server_ctx()
995 if ((r = sshbuf_get_u32(m, &major)) != 0) in mm_ssh_gssapi_server_ctx()
998 sshbuf_free(m); in mm_ssh_gssapi_server_ctx()
1006 struct sshbuf *m; in mm_ssh_gssapi_accept_ctx() local
1011 if ((m = sshbuf_new()) == NULL) in mm_ssh_gssapi_accept_ctx()
1013 if ((r = sshbuf_put_string(m, in->value, in->length)) != 0) in mm_ssh_gssapi_accept_ctx()
1016 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSSTEP, m); in mm_ssh_gssapi_accept_ctx()
1017 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_GSSSTEP, m); in mm_ssh_gssapi_accept_ctx()
1019 if ((r = sshbuf_get_u32(m, &major)) != 0 || in mm_ssh_gssapi_accept_ctx()
1020 (r = ssh_gssapi_get_buffer_desc(m, out)) != 0) in mm_ssh_gssapi_accept_ctx()
1023 if ((r = sshbuf_get_u32(m, &flags)) != 0) in mm_ssh_gssapi_accept_ctx()
1028 sshbuf_free(m); in mm_ssh_gssapi_accept_ctx()
1036 struct sshbuf *m; in mm_ssh_gssapi_checkmic() local
1040 if ((m = sshbuf_new()) == NULL) in mm_ssh_gssapi_checkmic()
1042 if ((r = sshbuf_put_string(m, gssbuf->value, gssbuf->length)) != 0 || in mm_ssh_gssapi_checkmic()
1043 (r = sshbuf_put_string(m, gssmic->value, gssmic->length)) != 0) in mm_ssh_gssapi_checkmic()
1046 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSCHECKMIC, m); in mm_ssh_gssapi_checkmic()
1047 mm_request_receive_expect(pmonitor->m_recvfd, in mm_ssh_gssapi_checkmic()
1048 MONITOR_ANS_GSSCHECKMIC, m); in mm_ssh_gssapi_checkmic()
1050 if ((r = sshbuf_get_u32(m, &major)) != 0) in mm_ssh_gssapi_checkmic()
1052 sshbuf_free(m); in mm_ssh_gssapi_checkmic()
1059 struct sshbuf *m; in mm_ssh_gssapi_userok() local
1062 if ((m = sshbuf_new()) == NULL) in mm_ssh_gssapi_userok()
1065 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_GSSUSEROK, m); in mm_ssh_gssapi_userok()
1066 mm_request_receive_expect(pmonitor->m_recvfd, in mm_ssh_gssapi_userok()
1067 MONITOR_ANS_GSSUSEROK, m); in mm_ssh_gssapi_userok()
1069 if ((r = sshbuf_get_u32(m, &authenticated)) != 0) in mm_ssh_gssapi_userok()
1072 sshbuf_free(m); in mm_ssh_gssapi_userok()