fixed shared key lookup by ID

proper auth method selection
This commit is contained in:
Martin Willi
2008-08-20 08:51:18 +00:00
parent 592dc30108
commit 142eaea43c
5 changed files with 134 additions and 24 deletions
+3 -2
View File
@@ -45,11 +45,12 @@ struct nm_creds_t {
void (*set_certificate)(nm_creds_t *this, certificate_t *cert);
/**
* Set the users password for authentication.
* Set the username/password for authentication.
*
* @param id ID of the user
* @param password password to use for authentication
*/
void (*set_password)(nm_creds_t *this, char *password);
void (*set_password)(nm_creds_t *this, identification_t *id, char *password);
/**
* Destroy a nm_creds instance.