RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set min length to policy handle. ret: " << ret);
- ret = auth_passwd_set_minComplexCharNumber(policy, 2);
+ ret = auth_passwd_set_min_complex_char_num(policy, 2);
RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set min complex char number to policy handle. ret: " << ret);
- ret = auth_passwd_set_maxCharOccurrences(policy, 2);
+ ret = auth_passwd_set_max_char_occurrences(policy, 2);
RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set max char occurrence number to policy handle. ret: " << ret);
- ret = auth_passwd_set_maxNumSeqLength(policy, 2);
+ ret = auth_passwd_set_max_num_seq_len(policy, 2);
RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set max num sequence length to policy handle. ret: " << ret);
RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set quality to policy handle. ret: " << ret);
- ret = auth_passwd_set_forbiddenPasswd(policy, "a1b2c3d4");
+ ret = auth_passwd_set_forbidden_passwd(policy, "a1b2c3d4");
RUNNER_ASSERT_MSG(ret == AUTH_PASSWD_API_SUCCESS,
"Failed to set forbidden passwd to policy handle. ret: " << ret);