emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b006095: Fix auth-source password lookup


From: Robert Pluim
Subject: master b006095: Fix auth-source password lookup
Date: Tue, 26 Nov 2019 03:25:16 -0500 (EST)

branch: master
commit b006095bc9eb1f963372cf862aa040e9a9d30331
Author: Alex Murray <address@hidden>
Commit: Robert Pluim <address@hidden>

    Fix auth-source password lookup
    
    * lisp/net/network-stream.el
    (network-stream-certificate): Ensure :port is specified as a string to
    'auth-source-search' (Bug#38371).
    
    Copyright-paperwork-exempt: yes
---
 lisp/net/network-stream.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/network-stream.el b/lisp/net/network-stream.el
index 1e9317b..b5419f1 100644
--- a/lisp/net/network-stream.el
+++ b/lisp/net/network-stream.el
@@ -233,7 +233,7 @@ gnutls-boot (as returned by `gnutls-boot-parameters')."
               (ignore-errors
                 (car (auth-source-search :max 1
                                          :host host
-                                         :port service))))
+                                         :port (format "%s" service)))))
             (key (plist-get auth-info :key))
             (cert (plist-get auth-info :cert)))
        (and key cert (file-readable-p key) (file-readable-p cert)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]