]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
psktool: increased default key size to 256-bits
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 5 Jun 2017 07:50:07 +0000 (09:50 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 5 Jun 2017 13:04:55 +0000 (13:04 +0000)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
src/psk.c

index 4867ba863b223a54f5d3a82b00b54429bb6f6549..1299515445f222a03a6f56042e428e907fae5fa0 100644 (file)
--- a/src/psk.c
+++ b/src/psk.c
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
        }
 
        if (!HAVE_OPT(KEYSIZE) || OPT_VALUE_KEYSIZE < 1)
-               key_size = 16;
+               key_size = 32;
        else
                key_size = OPT_VALUE_KEYSIZE;