Skip to content

Commit

Permalink
FLIM-ELS: Install sha1-el.el when dynamic-link is available and built…
Browse files Browse the repository at this point in the history
…-in sha1 library is not available.
  • Loading branch information
ikazuhiro committed Apr 15, 2014
1 parent 64bcf2a commit 8e0feca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -1,3 +1,8 @@
2014-04-15 Kazuhiro Ito <kzhr@d1.dion.ne.jp>

* FLIM-ELS: Install sha1-el.el when dynamic-link is available and
built-in sha1 library is not available.

2014-04-05 Kazuhiro Ito <kzhr@d1.dion.ne.jp>

* std11.el (std11-narrow-to-header)
Expand Down
6 changes: 3 additions & 3 deletions FLIM-ELS
Expand Up @@ -42,9 +42,9 @@
(unless (and (fboundp 'sha1)
(or (subrp (symbol-function 'secure-hash))
(subrp (symbol-function 'sha1))))
(if (fboundp 'dynamic-link)
(setq hmac-modules (cons 'sha1-dl hmac-modules))
(setq hmac-modules (cons 'sha1-el hmac-modules))))
(when (fboundp 'dynamic-link)
(setq hmac-modules (cons 'sha1-dl hmac-modules)))
(setq hmac-modules (cons 'sha1-el hmac-modules)))

(setq flim-modules (nconc hmac-modules flim-modules))

Expand Down

0 comments on commit 8e0feca

Please sign in to comment.