[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] crypto: add missing file af_alg.h
From: |
Bruno Haible |
Subject: |
Re: [PATCH] crypto: add missing file af_alg.h |
Date: |
Tue, 07 Sep 2021 20:15:11 +0200 |
Paul Eggert wrote:
> * modules/crypto/md5-buffer, modules/crypto/sha1-buffer:
> * modules/crypto/sha256-buffer, modules/crypto/sha512-buffer:
> (Files): Add lib/af_alg.h, since the .c files include it.
This looks unnecessary to me. The '#include "af_alg.h"' occurs
only inside '#if defined GL_COMPILE_CRYPTO_STREAM' code, and
GL_COMPILE_CRYPTO_STREAM is supposed to only get defined by the
modules
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
- and these module includes the dependency to the module 'crypto/af_alg'.
Bruno