From 609572a59b44f9b1eae0f767bf53fae3db5c6106 Mon Sep 17 00:00:00 2001 From: Daiki Ueno <ueno@gnu.org> Date: Sun, 24 May 2020 10:06:26 +0200 Subject: [PATCH] gnutls: add stub ngtcp2_crypto_set_local_transport_params Reported by Peter Wu in: https://github.com/curl/curl/pull/5443#issuecomment-633138665 --- crypto/gnutls/gnutls.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crypto/gnutls/gnutls.c b/crypto/gnutls/gnutls.c index 7954b231..afd0b0d7 100644 --- a/crypto/gnutls/gnutls.c +++ b/crypto/gnutls/gnutls.c @@ -312,3 +312,14 @@ int ngtcp2_crypto_set_remote_transport_params(ngtcp2_conn *conn, void *tls) { gnutls_session_ext_register. */ return 0; } + +int ngtcp2_crypto_set_local_transport_params(void *tls, const uint8_t *buf, + size_t len) { + (void)tls; + (void)buf; + (void)len; + /* Nothing to do; GnuTLS applications are supposed to register the + quic_transport_parameters extension with + gnutls_session_ext_register. */ + return 0; +} -- GitLab