search for: targv

Displaying 1 result from an estimated 1 matches for "targv".

Did you mean: argv
2013 Jun 27
0
CentOS 5.9 and google-authenticator
...esting TIME_SKEW"); for (int i = 0; i < 4; ++i) { set_time((12000 + i)*30); char buf[7]; response = buf; sprintf(response, "%06d", compute_code(binary_secret, binary_secret_len, 11000 + i)); assert(pam_sm_open_session(NULL, 0, targc, targv) == (i >= 2 ? PAM_SUCCESS : PAM_SESSION_ERR)); verify_prompts_shown(expected_good_prompts_shown); } Up to here works fine... set_time(12010 * 30); char buf[7]; response = buf; sprintf(response, "%06d", compute_code(binary_secret,...