Displaying 1 result from an estimated 1 matches for "prompt_len".
2000 Aug 27
0
patch for TIS (skey/opie) *and* passwd auth via PAM
...;msg_style) {
case PAM_PROMPT_ECHO_OFF:
- if (pampasswd == NULL) {
- free(reply);
- return PAM_CONV_ERR;
+ if (current_auth_type==SSH_CMSG_AUTH_TIS && pampasswd==NULL) {
+ /* TIS */
+ int prompt_len;
+ char *prompt;
+ debug("send SSH_SMSG_AUTH_TIS_CHALLENGE in PAM");
+ /* send all previous PAM_TEXT_INFO messages plus
+ the current prompt */
+...