X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Frequest.c;h=9ad7843e63eaa68041c4e1e0d9ac3375717be286;hb=937144b230752ac640e611cabb57387f613997bc;hp=b964bea11fe517099ce0ea0c4d400cd6d9a09dec;hpb=a13cddc1331aa1f5e7dca7d1b44482951d2757bf;p=libradsec.git diff --git a/lib/request.c b/lib/request.c index b964bea..9ad7843 100644 --- a/lib/request.c +++ b/lib/request.c @@ -1,5 +1,5 @@ /* Copyright 2010, 2011 NORDUnet A/S. All rights reserved. - See the file COPYING for licensing information. */ + See LICENSE for licensing information. */ #if defined HAVE_CONFIG_H #include @@ -51,7 +51,8 @@ int rs_request_create_authn (struct rs_connection *conn, struct rs_request **req_out, const char *user_name, - const char *user_pw) + const char *user_pw, + const char *secret) { struct rs_request *req = NULL; assert (req_out); @@ -59,7 +60,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)) + if (rs_packet_create_authn_request (conn, &req->req_msg, user_name, user_pw, secret)) return -1; if (req_out)