branch: externals/autocrypt
commit 6071d0a971f68d26ebc6b854076d7fddac0ac1e3
Author: Philip K <[email protected]>
Commit: Philip K <[email protected]>

    added missing require statements
---
 autocrypt.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/autocrypt.el b/autocrypt.el
index 3062e976ad..a0177a1d6e 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -27,6 +27,8 @@
 
 (require 'cl-lib)
 (require 'rx)
+(require 'epg)
+(require 'ietf-drums)
 
 
 ;;; CUSTOMIZABLES
@@ -341,7 +343,7 @@ Argument DATE contains the time value of the \"From\" tag."
 (defun autocrypt-process-header ()
   "Update internal autocrypt state."
   (let* ((from (autocrypt-canonicalise (autocrypt-mua-call :header "From")))
-         (date (mail-header-parse-date (autocrypt-mua-call :header "Date")))
+         (date (ietf-drums-parse-date (autocrypt-mua-call :header "Date")))
          (header (autocrypt-mua-call :header "Autocrypt"))
          parse addr preference keydata peer)
     (when header

Reply via email to