]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.el
test: initial tests for S/MIME and notmuch-emacs
[notmuch] / test / test-lib.el
index 04c8d63450533dbf566ff25cb6f2276b2032ee5b..596a705103ef1a3bd1c7902fa7d58f97f9902344 100644 (file)
@@ -188,3 +188,13 @@ nothing."
 ;; environments
 
 (setq mm-text-html-renderer 'html2text)
+
+;; Set some variables for S/MIME tests.
+
+(setq smime-keys '(("" "test_suite.pem" nil)))
+
+(setq mml-smime-use 'openssl)
+
+;; all test keys are without passphrase
+(eval-after-load 'smime
+  '(defun smime-ask-passphrase (cache)  nil))