]> Savannah Git Hosting - gnulib.git/commit
af_alg: New module.
authorBruno Haible <bruno@clisp.org>
Sat, 5 May 2018 18:27:33 +0000 (20:27 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 5 May 2018 18:34:30 +0000 (20:34 +0200)
commit459221a854b083ca9709e65de463dd05b1101851
treefb1cb8aa6b87775dc184f92c74d0034465ac858a
parent9745b26b0c0c4d956b06428ba970cec5e7f45aa7
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.
14 files changed:
ChangeLog
lib/af_alg.c
lib/af_alg.h
lib/md5.c
lib/sha1.c
lib/sha256.c
lib/sha512.c
m4/af_alg.m4 [new file with mode: 0644]
m4/linux-if-alg.m4 [deleted file]
modules/crypto/af_alg [new file with mode: 0644]
modules/crypto/md5
modules/crypto/sha1
modules/crypto/sha256
modules/crypto/sha512