Displaying 1 result from an estimated 1 matches for "current_auth_typ".
Did you mean:
current_auth_type
2000 Aug 27
0
patch for TIS (skey/opie) *and* passwd auth via PAM
...wd *pw, int auth_type);
+
/* Callbacks */
static int pamconv(int num_msg, const struct pam_message **msg,
struct pam_response **resp, void *appdata_ptr);
@@ -53,6 +56,7 @@
static struct pam_handle_t *pamh = NULL;
static const char *pampasswd = NULL;
static char *pam_msg = NULL;
+static int current_auth_type=-1;
/* PAM conversation function. This is really a kludge to get the password */
/* into PAM and to pick up any messages generated by PAM into pamconv_msg */
@@ -61,6 +65,7 @@
{
struct pam_response *reply;
int count;
+ int dlen, plen, type;
/* PAM will free this later */
repl...