summaryrefslogtreecommitdiff
path: root/tests/srp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2018-04-07 21:42:57 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2018-04-07 22:03:39 +0200
commit6009094a8cb41ce82f634708dd846ab867d9483a (patch)
tree0d9434fcb031df9dce42f40b38fcdddbf9427157 /tests/srp.c
parent2242f125aa6f31de93fdd0342acf35f75ea89241 (diff)
downloadgnutls-6009094a8cb41ce82f634708dd846ab867d9483a.tar.gz
ext/pre_shared_key: cleanups in error handling
This addresses a memory leak found via oss-fuzz. It also sets the right index on the selected PSK, and returns the right server error code on incorrect key file. Addresses: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7465 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'tests/srp.c')
0 files changed, 0 insertions, 0 deletions