diff options
| author | Stefan Monnier | 2017-07-28 12:27:00 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2017-07-28 12:27:00 -0400 |
| commit | d66dcde46a87ee8a9064db3d9b05da9b17036f5b (patch) | |
| tree | 88a3069bbd7197989ca0ff36b154cc3c360f317a /test | |
| parent | bfb8d33fd18b1d9fd5868204d472cb19f5bcafbe (diff) | |
| download | emacs-d66dcde46a87ee8a9064db3d9b05da9b17036f5b.tar.gz emacs-d66dcde46a87ee8a9064db3d9b05da9b17036f5b.zip | |
* lisp/password-cache.el (password-data): Use a hash-table
* lisp/auth-source.el (auth-source-magic): Remove.
(auth-source-forget+, auth-source-forget-all-cached): Adjust to new
format of password-data.
(auth-source-format-cache-entry): Just use a cons.
(password-cache-remove, password-cache-add, password-reset)
(password-read-from-cache, password-in-cache-p): Adjust accordingly.
Fixes: bug#26699
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/auth-source-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/auth-source-tests.el b/test/lisp/auth-source-tests.el index 2634777c7db..9753029f198 100644 --- a/test/lisp/auth-source-tests.el +++ b/test/lisp/auth-source-tests.el | |||
| @@ -215,7 +215,7 @@ | |||
| 215 | 215 | ||
| 216 | (ert-deftest auth-source-test-remembrances-of-things-past () | 216 | (ert-deftest auth-source-test-remembrances-of-things-past () |
| 217 | (let ((password-cache t) | 217 | (let ((password-cache t) |
| 218 | (password-data (make-vector 7 0))) | 218 | (password-data (copy-hash-table password-data))) |
| 219 | (auth-source-remember '(:host "wedd") '(4 5 6)) | 219 | (auth-source-remember '(:host "wedd") '(4 5 6)) |
| 220 | (should (auth-source-remembered-p '(:host "wedd"))) | 220 | (should (auth-source-remembered-p '(:host "wedd"))) |
| 221 | (should-not (auth-source-remembered-p '(:host "xedd"))) | 221 | (should-not (auth-source-remembered-p '(:host "xedd"))) |