diff options
author | Bruno Haible <bruno@clisp.org> | 2018-05-05 20:27:33 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-05-05 20:34:30 +0200 |
commit | 459221a854b083ca9709e65de463dd05b1101851 (patch) | |
tree | fb1cb8aa6b87775dc184f92c74d0034465ac858a /lib/af_alg.h | |
parent | 9745b26b0c0c4d956b06428ba970cec5e7f45aa7 (diff) | |
download | gnulib-459221a854b083ca9709e65de463dd05b1101851.tar.gz |
af_alg: New module.
* lib/af_alg.h: Test HAVE_* macro through '#if', not '#ifdef'.
* lib/af_alg.c: Include "af_alg.h" before the other header files.
* lib/md5.c: Include "af_alg.h" unconditionally.
(md5_stream): Invoke afalg_stream unconditionally.
* lib/sha1.c: Include "af_alg.h" unconditionally.
(sha1_stream): Invoke afalg_stream unconditionally.
* lib/sha256.c: Include "af_alg.h" unconditionally.
(sha256_stream, sha224_stream): Invoke afalg_stream unconditionally.
* lib/sha512.c: Include "af_alg.h" unconditionally.
(sha512_stream, sha384_stream): Invoke afalg_stream unconditionally.
* m4/af_alg.m4: Renamed from m4/linux-if-alg.m4.
(gl_AF_ALG): Renamed from gl_LINUX_IF_ALG_H.
* modules/crypto/af_alg: New file.
* modules/crypto/md5 (Files): Remove files that are now in the
'crypto/af_alg' module.
(Depends-on): Add crypto/af_alg.
(configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
(Makefile.am): Don't mention af_alg.c here.
* modules/crypto/sha1 (Files): Remove files that are now in the
'crypto/af_alg' module.
(Depends-on): Add crypto/af_alg.
(configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
(Makefile.am): Don't mention af_alg.c here.
* modules/crypto/sha256 (Files): Remove files that are now in the
'crypto/af_alg' module.
(Depends-on): Add crypto/af_alg.
(configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
(Makefile.am): Don't mention af_alg.c here.
* modules/crypto/sha512 (Files): Remove files that are now in the
'crypto/af_alg' module.
(Depends-on): Add crypto/af_alg.
(configure.ac): Remove gl_LINUX_IF_ALG_H invocation.
(Makefile.am): Don't mention af_alg.c here.
Diffstat (limited to 'lib/af_alg.h')
-rw-r--r-- | lib/af_alg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/af_alg.h b/lib/af_alg.h index aacb8f606a..295f0f9b59 100644 --- a/lib/af_alg.h +++ b/lib/af_alg.h @@ -36,7 +36,7 @@ extern "C" { # endif -# ifdef HAVE_LINUX_IF_ALG_H +# if HAVE_LINUX_IF_ALG_H /* Computes a message digest of the contents of a file. STREAM is an open file stream. Regular files are handled more efficiently |