summaryrefslogtreecommitdiff
path: root/lib/request.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/request.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/request.c')
-rw-r--r--lib/request.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/request.c b/lib/request.c
index 9ad7843..5649ee1 100644
--- a/lib/request.c
+++ b/lib/request.c
@@ -51,8 +51,7 @@ int
rs_request_create_authn (struct rs_connection *conn,
struct rs_request **req_out,
const char *user_name,
- const char *user_pw,
- const char *secret)
+ const char *user_pw)
{
struct rs_request *req = NULL;
assert (req_out);
@@ -60,7 +59,7 @@ rs_request_create_authn (struct rs_connection *conn,
if (rs_request_create (conn, &req))
return -1;
- if (rs_packet_create_authn_request (conn, &req->req_msg, user_name, user_pw, secret))
+ if (rs_packet_create_authn_request (conn, &req->req_msg, user_name, user_pw))
return -1;
if (req_out)