[gnutls-devel] GnuTLS | add support for 0-RTT (!775)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Nov 2 17:41:04 CET 2018


Daiki Ueno commented on a discussion on lib/tls13/anti_replay.c:

> +			ret = gnutls_assert_val(GNUTLS_E_EARLY_DATA_REJECTED);
> +			goto out;
> +		}
> +	} else {
> +		gnutls_datum_t value;
> +
> +		value = db_retrieve_func(db_ptr, key);
> +		if (value.data) {
> +			/* We don't care about the data. */
> +			free(value.data);
> +			_gnutls_handshake_log("anti_replay: duplicate ClientHello found\n");
> +			ret = gnutls_assert_val(GNUTLS_E_EARLY_DATA_REJECTED);
> +			goto out;
> +		}
> +	}
> +

Yes, it makes sense.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/775#note_114143895
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181102/27977f3d/attachment.html>


More information about the Gnutls-devel mailing list