diff options
author | Linus Nordberg <linus@nordberg.se> | 2013-05-06 12:00:00 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2013-05-08 17:03:49 +0200 |
commit | c682577a243902164de1d80f38425a66a4853d82 (patch) | |
tree | 21917ef4756702661129dd5171e932535470ae0f /lib/packet.c | |
parent | eec88306951cec38d1376ad4fbba6e690b4a1358 (diff) |
Revert "Add formal argument 'secret' to two public functions."
This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11.
Conflicts:
lib/include/radsec/request.h
Diffstat (limited to 'lib/packet.c')
-rw-r--r-- | lib/packet.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/packet.c b/lib/packet.c index 8073945..ba7ddb8 100644 --- a/lib/packet.c +++ b/lib/packet.c @@ -159,9 +159,7 @@ rs_packet_create (struct rs_connection *conn, struct rs_packet **pkt_out) int rs_packet_create_authn_request (struct rs_connection *conn, struct rs_packet **pkt_out, - const char *user_name, - const char *user_pw, - const char *secret) + const char *user_name, const char *user_pw) { struct rs_packet *pkt; int err; @@ -181,7 +179,6 @@ rs_packet_create_authn_request (struct rs_connection *conn, if (user_pw) { - pkt->rpkt->secret = secret; err = rs_packet_append_avp (pkt, PW_USER_PASSWORD, 0, user_pw, 0); if (err) return err; |