projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
650a514
)
Fix auth-source password lookup
author
Alex Murray
<alex.murray@canonical.com>
Mon, 25 Nov 2019 11:48:07 +0000
(22:18 +1030)
committer
Robert Pluim
<rpluim@gmail.com>
Tue, 26 Nov 2019 08:23:45 +0000
(09:23 +0100)
* 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
patch
|
blob
|
history
diff --git
a/lisp/net/network-stream.el
b/lisp/net/network-stream.el
index 1e9317bc18c213ad89b92681b437147236dc2d68..b5419f1d57390f093e0e76a02b0851fa6a606046 100644
(file)
--- 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)