summaryrefslogtreecommitdiff
path: root/lib/examples/client-blocking.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-05-06 12:00:00 +0200
committerLinus Nordberg <linus@nordberg.se>2013-05-08 17:03:49 +0200
commitc682577a243902164de1d80f38425a66a4853d82 (patch)
tree21917ef4756702661129dd5171e932535470ae0f /lib/examples/client-blocking.c
parenteec88306951cec38d1376ad4fbba6e690b4a1358 (diff)
Revert "Add formal argument 'secret' to two public functions."
This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
Diffstat (limited to 'lib/examples/client-blocking.c')
-rw-r--r--lib/examples/client-blocking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c
index 1303905..cce00bf 100644
--- a/lib/examples/client-blocking.c
+++ b/lib/examples/client-blocking.c
@@ -55,14 +55,14 @@ blocking_client (const char *config_fn, const char *configuration,
if (use_request_object_flag)
{
- if (rs_request_create_authn (conn, &request, USER_NAME, USER_PW, SECRET))
+ if (rs_request_create_authn (conn, &request, USER_NAME, USER_PW))
goto cleanup;
if (rs_request_send (request, &resp))
goto cleanup;
}
else
{
- if (rs_packet_create_authn_request (conn, &req, USER_NAME, USER_PW, SECRET))
+ if (rs_packet_create_authn_request (conn, &req, USER_NAME, USER_PW))
goto cleanup;
if (rs_packet_send (req, NULL))
goto cleanup;