hash: Initialize libgcrypt before use.
authorLudovic Courtès <ludo@gnu.org>
Mon, 26 Jan 2015 20:42:23 +0000 (21:42 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 26 Jan 2015 20:58:12 +0000 (21:58 +0100)
commit19a454448b97d2e84164f8add9aaed42c645e338
tree6aa2b2d52788c3029521184191f2366000aa02c6
parent4862bc4a1a20d2abf50b39713cd12985f38adf7c
hash: Initialize libgcrypt before use.

Fixes <http://bugs.gnu.org/19677>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/hash.scm: Use (guix gcrypt).
  (sha256, open-sha256-md, md-write, md-close): Use 'libgcrypt-func'
  instead of 'dynamic-func'.
guix/hash.scm