diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2020-03-18 11:23:47 +0100 |
---|---|---|
committer | Ander Juaristi <a@juaristi.eus> | 2020-03-23 17:00:58 +0100 |
commit | ded59e682aeef30c7ae172cc22700f8f92faeb76 (patch) | |
tree | 3a704af0b0c44bf99d4b204ab34c1f9017cb6d78 /lib/gnutls_int.h | |
parent | 7e43ed8acceb84f140ed090195b3100d80f3ccc2 (diff) | |
download | gnutls-ded59e682aeef30c7ae172cc22700f8f92faeb76.tar.gz |
_gnutls_check_id_for_change: ensure that we check the username lengthajuaristi-issue-586
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 4ea8159979..9959c82202 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -1445,7 +1445,7 @@ typedef struct { /* The saved username from PSK or SRP auth */ char saved_username[MAX_USERNAME_SIZE+1]; - bool saved_username_set; + int saved_username_size; /* Needed for TCP Fast Open (TFO), set by gnutls_transport_set_fastopen() */ tfo_st tfo; |