From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B79354112B for ; Mon, 14 Feb 2022 16:07:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B8EC468B0F9; Mon, 14 Feb 2022 18:07:55 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2743E68AFD2 for ; Mon, 14 Feb 2022 18:07:49 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id A9138240179; Mon, 14 Feb 2022 17:07:48 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id ts4Nc2mctNMu; Mon, 14 Feb 2022 17:07:48 +0100 (CET) Received: from lain.red.khirnov.net (lain.red.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.red.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 3C56F240175; Mon, 14 Feb 2022 17:07:48 +0100 (CET) Received: by lain.red.khirnov.net (Postfix, from userid 1000) id 67C981601AD; Mon, 14 Feb 2022 17:07:48 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: <20220211073414.449304-1-asn@cryptomilk.org> References: <20220211073414.449304-1-asn@cryptomilk.org> Mail-Followup-To: FFmpeg development discussions and patches , Andreas Schneider Date: Mon, 14 Feb 2022 17:07:48 +0100 Message-ID: <164485486839.9519.7985645280233928703@lain.red.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH] avformat/gnutls: Use the systems default crypto policy X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Schneider Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Quoting Andreas Schneider (2022-02-11 08:34:14) > We should use the systems crypto policy by default. If there is no > system policy, gnutls will use the "NORMAL" policy. > > Signed-off-by: Andreas Schneider > --- > libavformat/tls_gnutls.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c > index 741578a596..2ab38a199b 100644 > --- a/libavformat/tls_gnutls.c > +++ b/libavformat/tls_gnutls.c > @@ -192,7 +192,7 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op > gnutls_transport_set_pull_function(p->session, gnutls_url_pull); > gnutls_transport_set_push_function(p->session, gnutls_url_push); > gnutls_transport_set_ptr(p->session, p); > - gnutls_priority_set_direct(p->session, "NORMAL", NULL); > + gnutls_set_default_priority(p->session); > do { > if (ff_check_interrupt(&h->interrupt_callback)) { > ret = AVERROR_EXIT; Looks reasonable, will push tomorrow if nobody objects. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".