projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add formal argument 'secret' to two public functions.
[libradsec.git]
/
lib
/
examples
/
client-blocking.c
diff --git
a/lib/examples/client-blocking.c
b/lib/examples/client-blocking.c
index
1b77de3
..
773a26c
100644
(file)
--- a/
lib/examples/client-blocking.c
+++ b/
lib/examples/client-blocking.c
@@
-59,14
+59,14
@@
blocking_client (const char *config_fn, const char *configuration,
if (use_request_object_flag)
{
if (use_request_object_flag)
{
- if (rs_request_create_authn (conn, &request, USER_NAME, USER_PW))
+ if (rs_request_create_authn (conn, &request, USER_NAME, USER_PW
, SECRET
))
goto cleanup;
if (rs_request_send (request, &resp))
goto cleanup;
}
else
{
goto cleanup;
if (rs_request_send (request, &resp))
goto cleanup;
}
else
{
- if (rs_packet_create_authn_request (conn, &req, USER_NAME, USER_PW))
+ if (rs_packet_create_authn_request (conn, &req, USER_NAME, USER_PW
, SECRET
))
goto cleanup;
if (rs_packet_send (req, NULL))
goto cleanup;
goto cleanup;
if (rs_packet_send (req, NULL))
goto cleanup;