From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ALPN support for GnuTLS connections Date: Thu, 10 Oct 2024 19:23:07 +0300 Message-ID: <86h69k0vx0.fsf@gnu.org> References: <7f11f60c-37da-4123-ae5b-98c79a132bb1@risk-engineering.org> <87zfnp1oqa.fsf@gmail.com> <3b0509fe-5a30-4e2a-a9fa-c196d79c81d4@risk-engineering.org> <87ttdx1dzy.fsf@gmail.com> <874j5o1fwe.fsf@gmail.com> <877cagukpe.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21540"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eric.marsden@risk-engineering.org, emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 10 18:23:54 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1syvxB-0005Og-OD for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Oct 2024 18:23:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syvwY-0001Gn-6M; Thu, 10 Oct 2024 12:23:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syvwW-00011D-8y for emacs-devel@gnu.org; Thu, 10 Oct 2024 12:23:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syvwV-0004WX-FK; Thu, 10 Oct 2024 12:23:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=R+03ancvXMfXtWcQNrf+mI20oxDEfv6wm4CaHvsq/Qo=; b=eqVsKIRyYEkd ZbnoMDhA63dlZoqVdGR22Mbh1XJHC64ft5eIF67iPDSEwRA+Bc931PGFn3C0OkThP73iJSyG2jBN3 Koqp+B+zc/7aZkeltZvpsL5SH6bPrGy1zPWB26XZahCxD3jv5qXAbWBdg5U2ObLv12Vw+8l0b/Aql +yhoOhhL6SAG/HAgbNiw9Uzi5hXjB/pSHfFw0jQYpXhZUT2XlEzSEk89RDD7TEZQPOHLqr9GHdrzx EMTO4GE2PM388AckT/0VlRzgKR7hp8COt/+xTpEg7FPnCRFddo4D2YD1GkKugt4qDfdM0Z+QofLLx 3IHZERwaZ1Va5rVSTDltnw==; In-Reply-To: <877cagukpe.fsf@gmail.com> (message from Robert Pluim on Thu, 10 Oct 2024 15:54:53 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324492 Archived-At: > From: Robert Pluim > Cc: emacs-devel@gnu.org > Date: Thu, 10 Oct 2024 15:54:53 +0200 > > Patch below. Works in my limited testing. Thanks, but I think it will fail to link on MS-Windows, because you didn't say the magic words to load gnutls_alpn_set_protocols from the library and call the function through a function pointer. Also, what about calling this out in NEWS?