From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#20960: handling /etc/ssl/certs/ca-bundle.crt by default in emacs Date: Thu, 02 Jul 2015 11:38:25 -0400 Message-ID: References: <55950B13.1040406@redhat.com> <83d20a1udy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435851558 2983 80.91.229.3 (2 Jul 2015 15:39:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jul 2015 15:39:18 +0000 (UTC) Cc: 20960@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 02 17:39:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZAgZw-0000xD-DS for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 17:39:08 +0200 Original-Received: from localhost ([::1]:37244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAgZv-0001Dg-L3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jul 2015 11:39:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAgZr-0001Db-Qo for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 11:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAgZr-0000qQ-27 for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 11:39:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAgZq-0000qL-Ui for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZAgZq-0006Ou-Hx for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2015 11:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jul 2015 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20960 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20960-submit@debbugs.gnu.org id=B20960.143585152224574 (code B ref 20960); Thu, 02 Jul 2015 15:39:02 +0000 Original-Received: (at 20960) by debbugs.gnu.org; 2 Jul 2015 15:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:37825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAgZW-0006OH-6O for submit@debbugs.gnu.org; Thu, 02 Jul 2015 11:38:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAgZU-0006O5-D9 for 20960@debbugs.gnu.org; Thu, 02 Jul 2015 11:38:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAgZO-0000kA-8a for 20960@debbugs.gnu.org; Thu, 02 Jul 2015 11:38:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAgZI-0000iO-3k; Thu, 02 Jul 2015 11:38:28 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZAgZF-0005Tb-V9; Thu, 02 Jul 2015 11:38:26 -0400 X-Spook: Watch Bletchley Park Ciudad Juarez Al Qa'ida Organized X-Ran: e`y#*!sEP;M~[cjq{yY5+QxJN_T#z^o#?CBP}"8qF0?" (Eli Zaretskii's message of "Thu, 02 Jul 2015 17:55:37 +0300") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104621 Archived-At: Eli Zaretskii wrote: >> (setq smime-CA-directory "/etc/ssl/certs/ca-bundle.crt") On my RHEL7 system, this isn't a directory. It is a symlink to /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem, a file. > That file name is platform-dependent, and even on Unix the bundle can > be found in several different directories. So let's compile a list of the standard places and default to the first that exists, similar to what gnutls-trustfiles does. (Does these two variables duplicate each other?)