]> Savannah Git Hosting - gnulib.git/commit
crypto/{sha*,md5,sm3}-buffer: Fix --with-openssl (regr. 2023-08-26).
authorBruno Haible <bruno@clisp.org>
Fri, 1 Sep 2023 10:55:30 +0000 (12:55 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 1 Sep 2023 10:55:30 +0000 (12:55 +0200)
commitce20e238f0b4448a098bd7c076c131edbc759764
tree74a9dd3ddd53f509fda853a4017f69a3381ff24f
parent3af1d7b0ce3a8e3ae565e7cea10cee6fd7cb8109
crypto/{sha*,md5,sm3}-buffer: Fix --with-openssl (regr. 2023-08-26).

Reported by Agostino Sarubbo via Sam James <sam@gentoo.org> in
<https://lists.gnu.org/archive/html/bug-gnulib/2023-09/msg00000.html>.

* lib/sha1.h: Test the OpenSSL major version before attempting to
include <openssl/configuration.h>.
* lib/sha256.h: Likewise.
* lib/sha512.h: Likewise.
* lib/md5.h: Likewise.
* lib/sm3.h: Likewise.
ChangeLog
lib/md5.h
lib/sha1.h
lib/sha256.h
lib/sha512.h
lib/sm3.h