summaryrefslogtreecommitdiff
path: root/lib/auth/psk.c
diff options
context:
space:
mode:
authorAnder Juaristi <a@juaristi.eus>2018-04-18 20:56:07 +0200
committerDaiki Ueno <dueno@redhat.com>2018-04-20 16:10:20 +0200
commitb65254724993d4fd5a290d439321f5d8ff54e4c5 (patch)
treed2f31251bb8e64288477034a3a88d5bbd2461c35 /lib/auth/psk.c
parent277b2e9b054884b6e5317a313e1a6433402c4bca (diff)
downloadgnutls-b65254724993d4fd5a290d439321f5d8ff54e4c5.tar.gz
ext/psk_ke_modes: Take into account of server priority stringtmp-session-resumption-tls13
Signed-off-by: Ander Juaristi <a@juaristi.eus>
Diffstat (limited to 'lib/auth/psk.c')
-rw-r--r--lib/auth/psk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/auth/psk.c b/lib/auth/psk.c
index 6968bb8057..113fd53468 100644
--- a/lib/auth/psk.c
+++ b/lib/auth/psk.c
@@ -235,7 +235,7 @@ _gnutls_proc_psk_client_kx(gnutls_session_t session, uint8_t * data,
info->username[username.size] = 0;
ret =
- _gnutls_psk_pwd_find_entry(session, info->username, &psk_key);
+ _gnutls_psk_pwd_find_entry(session, cred, info->username, &psk_key);
if (ret < 0)
return gnutls_assert_val(ret);