auth-source.el through the /usr/bin/security utility.
(auth-sources): Fix syntax error.
(auth-source-macos-keychain-result-append): Fix variable name.
+ (auth-sources, auth-source-macos-keychain-result-append): More fixes.
2012-07-27 Julien Danjou <jd@dex.adm.naquadah.org>
:value :macos-keychain-internet)
(choice :tag "Collection to use"
(string :tag "internet Keychain path")
- (const :tag "default" 'default))))
+ (const :tag "default" 'default)))
(list
:tag "Mac OS generic Keychain"
(const :format ""
(and (plist-get ret :secret) (list ret))))
(defun auth-source-macos-keychain-result-append (result generic k v)
- (push v ret)
+ (push v result)
(setq k (cond
((equal k "acct") "user")
;; for generic keychains, creator is host, service is port
((and (not generic) (equal k "srvr")) "host")
(t k)))
- (push (intern (format ":%s" k)) ret))
+ (push (intern (format ":%s" k)) result))
(defun* auth-source-macos-keychain-create (&rest
spec