]> andersk Git - openssh.git/blobdiff - auth2-pam.c
- (stevesk) logintest.c: fix for systems without __progname
[openssh.git] / auth2-pam.c
index 14971c56669cb342160c4c23f141cd418ecd5183..836cef51248cd066f3e381804651066b7149fcb1 100644 (file)
@@ -38,7 +38,7 @@ auth2_pam(Authctxt *authctxt)
                fatal("auth2_pam: internal error: no user");
 
        conv2.appdata_ptr = authctxt;
-       pam_set_conv(&conv2);
+       do_pam_set_conv(&conv2);
 
        dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE,
            &input_userauth_info_response_pam);
@@ -107,10 +107,12 @@ do_pam_conversation_kbd_int(int num_msg, const struct pam_message **msg,
        packet_send();
        packet_write_wait();
 
-       /* Grabbing control of execution and spinning until we get what
+       /*
+        * Grabbing control of execution and spinning until we get what
         * we want is probably rude, but it seems to work properly, and
         * the client *should* be in lock-step with us, so the loop should
-        * only be traversed once. */
+        * only be traversed once.
+        */
        while(context_pam2.finished == 0) {
                done = 1;
                dispatch_run(DISPATCH_BLOCK, &done, appdata_ptr);
This page took 0.049184 seconds and 4 git commands to generate.