summaryrefslogtreecommitdiff
path: root/fuzz/gnutls_psk_server_fuzzer.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-06 13:36:11 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-04-06 13:37:26 +0200
commit09b1a08a57d098d1344958d323e75c149f59574e (patch)
tree1c8cb249fd394d15893bc477d1c6b5898e8083b8 /fuzz/gnutls_psk_server_fuzzer.c
parent5242dc17e855eb29e0e373bbf1490dae7a6a667c (diff)
downloadgnutls-09b1a08a57d098d1344958d323e75c149f59574e.tar.gz
fuzz: added PSK traces with TLS1.3
Relates: #359 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'fuzz/gnutls_psk_server_fuzzer.c')
-rw-r--r--fuzz/gnutls_psk_server_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/gnutls_psk_server_fuzzer.c b/fuzz/gnutls_psk_server_fuzzer.c
index 612259aef7..09476e44b2 100644
--- a/fuzz/gnutls_psk_server_fuzzer.c
+++ b/fuzz/gnutls_psk_server_fuzzer.c
@@ -106,7 +106,7 @@ int LLVMFuzzerTestOneInput(const uint8_t * data, size_t size)
res = gnutls_credentials_set(session, GNUTLS_CRD_PSK, pcred);
assert(res >= 0);
- res = gnutls_priority_set_direct(session, "NORMAL:-KX-ALL:+ECDHE-PSK:+DHE-PSK:+PSK:+RSA-PSK", NULL);
+ res = gnutls_priority_set_direct(session, "NORMAL:-KX-ALL:+ECDHE-PSK:+DHE-PSK:+PSK:+RSA-PSK:+VERS-TLS1.3", NULL);
assert(res >= 0);
memdata.data = data;