[gnutls-devel] GnuTLS | Remove trailing dot from hostname input (!709)

Tim Rühsen gitlab at mg.gitlab.com
Sun Jul 22 12:54:28 CEST 2018


Tim Rühsen commented on a discussion on src/cli.c:

>  	 */
>  	if (disable_extensions == 0 && disable_sni == 0) {
>  		if (HAVE_OPT(SNI_HOSTNAME)) {
> -			gnutls_server_name_set(session, GNUTLS_NAME_DNS,
> -					       OPT_ARG(SNI_HOSTNAME), strlen(OPT_ARG(SNI_HOSTNAME)));
> +			const char *sni_host = OPT_ARG(SNI_HOSTNAME);

see above, same problem

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/709#note_89512474
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/20180722/8aec3b9a/attachment.html>


More information about the Gnutls-devel mailing list