diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-05-15 14:03:08 +0200 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-05-15 14:03:08 +0200 |
commit | d7b633d417e864487956eaf18d8e14c7914758fa (patch) | |
tree | ef3e5c934eb2536c111e81ff29f89e302eaf355d /src | |
parent | 808f9acc76c6f45f211d377b64d25a562fad08e0 (diff) | |
download | gnutls-d7b633d417e864487956eaf18d8e14c7914758fa.tar.gz |
Fix so that PSK authentication works.
Diffstat (limited to 'src')
-rw-r--r-- | src/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1045,7 +1045,7 @@ init_global_tls_stuff (void) #endif #ifdef ENABLE_PSK - if (psk_username && !psk_key.data) + if (psk_username && psk_key.data) { /* SRP stuff */ if (gnutls_psk_allocate_client_credentials (&psk_cred) < 0) |