[gnutls-devel] GnuTLS | Remove trailing dot from hostname input (!709)
Nikos Mavrogiannopoulos
gitlab at mg.gitlab.com
Sun Jul 22 08:15:14 CEST 2018
Nikos Mavrogiannopoulos started a new 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);
It seems we can void the const here completely.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/709#note_89501129
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/7070bd33/attachment.html>
More information about the Gnutls-devel
mailing list