~pkal/autocrypt

599d5f3f5d339b839194f8e437d34149abc57e8d — Philip Kaludercic 1 year, 4 months ago ff87f73
Further improve robustness of autocrypt-process-header
1 files changed, 2 insertions(+), 1 deletions(-)

M autocrypt.el
M autocrypt.el => autocrypt.el +2 -1
@@ 377,7 377,8 @@ Argument DATE contains the time value of the \"From\" tag."
;; https://autocrypt.org/level1.html#updating-autocrypt-peer-state
(defun autocrypt-process-header ()
  "Update internal autocrypt state."
  (let* ((from (autocrypt-canonicalise (autocrypt-get-header "From")))
  (let* ((from-raw (autocrypt-get-header "From"))
         (from (and from-raw (autocrypt-canonicalise from-raw)))
         (date (autocrypt-get-header "Date"))
         (header (autocrypt-get-header "Autocrypt"))
         parse addr preference keydata peer)