Lines Matching refs:new_pw
707 char *new_pw, size_t new_pw_len) in build_credential() argument
709 if (new_password(new_pw, new_pw_len) < 0) in build_credential()
711 debug_print(ctx, 1, "Update password to '%s'", new_pw); in build_credential()
712 return build_credential_pw(ctx, user, realm, new_pw, 1); in build_credential()
840 char new_pw[33]; in build_sub_rem_resp() local
888 snprintf(new_pw, sizeof(new_pw), "%s", pw); in build_sub_rem_resp()
892 realm, new_pw, 0); in build_sub_rem_resp()
896 realm, new_pw, sizeof(new_pw)); in build_sub_rem_resp()
940 db_add_session(ctx, user, realm, session_id, new_pw, NULL, in build_sub_rem_resp()
2620 char *new_pw = NULL; in hs20_spp_update_response() local
2625 new_pw = db_get_session_val(ctx, user, realm, in hs20_spp_update_response()
2627 if (new_pw == NULL || strlen(new_pw) == 0) { in hs20_spp_update_response()
2628 free(new_pw); in hs20_spp_update_response()
2642 if (!new_pw) { in hs20_spp_update_response()
2643 new_pw = db_get_session_val(ctx, user, realm, in hs20_spp_update_response()
2646 if (!new_pw) { in hs20_spp_update_response()
2654 if (update_password(ctx, user, realm, new_pw, dmacc) < in hs20_spp_update_response()