auth-source: Fix wrong-type-argument when searching plstore
`auth-source-search' can be called with an integer port number from `network-stream-certificate`, while the backend implementation doesn't allow non-string attributes. * lisp/auth-source.el (auth-source-plstore-search): Ensure attributes are string.
This commit is contained in:
parent
42df8cd686
commit
fcb89237d9
1 changed files with 3 additions and 3 deletions
|
@ -2049,9 +2049,9 @@ entries for git.gnus.org:
|
|||
(if (or (null v)
|
||||
(eq t v))
|
||||
nil
|
||||
(if (stringp v)
|
||||
(setq v (list v)))
|
||||
(list k v))))
|
||||
(list
|
||||
k
|
||||
(auth-source-ensure-strings v)))))
|
||||
search-keys)))
|
||||
;; needed keys (always including host, login, port, and secret)
|
||||
(returned-keys (delete-dups (append
|
||||
|
|
Loading…
Add table
Reference in a new issue