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:37:03 +0200 |
commit | 3866e9c773d8a946d110d0b932225d9eb3df5bc3 (patch) | |
tree | 5069a88b5c81d9b1b0d199c5dea22c43edbb1297 /src | |
parent | 5f4e6a0dab6a8dc3ae125a6ca776d210fb9a3b07 (diff) | |
download | gnutls-3866e9c773d8a946d110d0b932225d9eb3df5bc3.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
@@ -1052,7 +1052,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) |