Lines Matching defs:ac
1103 struct auth_challenge_info *ac = get_auth_challenge (auth_challenge, &gc);
1104 if (ac)
1110 msg (M_INFO|M_NOPREFIX, "CHALLENGE: %s", ac->challenge_text);
1111 if (!get_console_input ("Response:", BOOL_CAST(ac->flags&CR_ECHO), response, USER_PASS_LEN))
1113 strncpynt (up->username, ac->user, USER_PASS_LEN);
1114 buf_printf (&packed_resp, "CRV1::%s::%s", ac->state_id, response);
1237 struct auth_challenge_info *ac;
1245 ALLOC_OBJ_CLEAR_GC (ac, struct auth_challenge_info, gc);
1260 ac->flags |= CR_ECHO;
1262 ac->flags |= CR_RESPONSE;
1268 ac->state_id = string_alloc(work, gc);
1273 ac->user = (char *) gc_malloc (strlen(work)+1, true, gc);
1274 openvpn_base64_decode(work, (void*)ac->user, -1);
1277 ac->challenge_text = string_alloc(BSTR(&b), gc);
1279 return ac;