From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: A couple of questions and concerns about Emacs network security Date: Mon, 09 Jul 2018 21:04:55 +0300 Message-ID: <83bmbggu9k.fsf@gnu.org> References: <83o9g2uhju.fsf@gnu.org> <20180705115826.73c1d95e@jabberwock.cb.piermont.com> <878t6lom8g.fsf@mouse.gnus.org> <87pnzxn4kw.fsf@mouse.gnus.org> <87fu0tmxfs.fsf@mouse.gnus.org> <83va9pha36.fsf@gnu.org> <83tvp9h9dv.fsf@gnu.org> <87y3ellggt.fsf@mouse.gnus.org> <83sh4th84d.fsf@gnu.org> <83lgakgxdf.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531159424 29744 195.159.176.226 (9 Jul 2018 18:03:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Jul 2018 18:03:44 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Jimmy Yuen Ho Wong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 09 20:03:39 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fcaVf-0007Yn-DL for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2018 20:03:39 +0200 Original-Received: from localhost ([::1]:43769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcaXk-0001Fx-GI for ged-emacs-devel@m.gmane.org; Mon, 09 Jul 2018 14:05:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcaWq-0001Fo-IC for emacs-devel@gnu.org; Mon, 09 Jul 2018 14:04:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcaWl-0007D6-PE for emacs-devel@gnu.org; Mon, 09 Jul 2018 14:04:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcaWl-0007Cw-MF; Mon, 09 Jul 2018 14:04:47 -0400 Original-Received: from [176.228.60.248] (port=3944 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fcaWl-0007sy-04; Mon, 09 Jul 2018 14:04:47 -0400 In-reply-to: (message from Jimmy Yuen Ho Wong on Mon, 9 Jul 2018 18:38:14 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227169 Archived-At: > From: Jimmy Yuen Ho Wong > Date: Mon, 9 Jul 2018 18:38:14 +0100 > Cc: Lars Ingebrigtsen , Emacs-Devel devel > This is what (setq gnutls-min-prime-bits nil) means: > > https://github.com/emacs-mirror/emacs/blob/master/src/gnutls.c#L1854 This still doesn't tell me what nil means: prime_bits = Fplist_get (proplist, QCmin_prime_bits); [...] if (INTEGERP (prime_bits)) gnutls_dh_set_prime_bits (state, XUINT (prime_bits)); If prime_bits is nil, we do nothing with it. We only use it if it is an integer.