summaryrefslogtreecommitdiff
path: root/lib/auth/psk_passwd.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-10 08:32:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-10-10 08:32:07 +0200
commit80c4b5e316002b6b5d2ffaf22a22f8f8cce1a142 (patch)
treecbf438fb2eae55ba85259ea260fb4f245d947e0f /lib/auth/psk_passwd.c
parent9ffddfaf6a983378358eef7d33f32b9da49662f7 (diff)
downloadgnutls-80c4b5e316002b6b5d2ffaf22a22f8f8cce1a142.tar.gz
session->key no longer needs to be an allocated structure.
Diffstat (limited to 'lib/auth/psk_passwd.c')
-rw-r--r--lib/auth/psk_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/psk_passwd.c b/lib/auth/psk_passwd.c
index 8e60bf2826..a27cb69921 100644
--- a/lib/auth/psk_passwd.c
+++ b/lib/auth/psk_passwd.c
@@ -131,7 +131,7 @@ _gnutls_psk_pwd_find_entry (gnutls_session_t session, char *username,
int ret;
cred = (gnutls_psk_server_credentials_t)
- _gnutls_get_cred (session->key, GNUTLS_CRD_PSK, NULL);
+ _gnutls_get_cred (session, GNUTLS_CRD_PSK, NULL);
if (cred == NULL)
{
gnutls_assert ();