Home GnuPG

Allow building with configure option --enable-hmac-binary-check.
65c63144b663Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Allow building with configure option --enable-hmac-binary-check.

* src/Makefile.am (mpicalc_LDADD): Add DL_LIBS.
* src/fips.c (check_binary_integrity): Allow use of hmac256 output.
* src/hmac256.c (main): Add option --stdkey

Note that when using that configure option "make check" won't work in
one go. Instead use

make
cd src/.libs
../hmac256  --stdkey '' libgcrypt.so.20 >.libgcrypt.so.20.hmac
cd ../..
make check
  • Reported-by: Burt Silverman
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 6 2016, 8:16 PM
Parents
rC6f386ceae86a: ecc: Positive values in computation.
Branches
Unknown
Tags
Unknown

Event Timeline