diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-22 17:36:30 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-11-22 17:36:33 +0100 |
commit | 2eaa67c18a7008b38628e2d798b954c513c3666d (patch) | |
tree | 191f0e28090e6cc716065dc73da59211e042aabc /src/psk.c | |
parent | 9ca1035ea18f6a78f0761338ea113be032c09ee2 (diff) | |
download | gnutls-2eaa67c18a7008b38628e2d798b954c513c3666d.tar.gz |
psktool: allow up to 512-byte keys
This aligns the psktool --help output with the psktool operation.
Suggested by Jack Lloyd.
Resolves #327
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/psk.c')
-rw-r--r-- | src/psk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ int main(int argc, char **argv) static int write_key(const char *username, const char *key, int key_size, const char *passwd_file); -#define MAX_KEY_SIZE 64 +#define MAX_KEY_SIZE 512 int main(int argc, char **argv) { int ret; |