]> Savannah Git Hosting - gnulib.git/commit
crypto/{sha*,md5,sm3}-buffer: Ignore too old OpenSSL versions.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Aug 2023 20:45:17 +0000 (22:45 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Aug 2023 20:45:17 +0000 (22:45 +0200)
commita436f5f498d7e747864d40d4450fa8330dd44d12
treedcd8c96607315a36688ca9c1723a745b7678d54f
parentdf9f8e6f22488c9c03dbe05e887dea64a86c8d95
crypto/{sha*,md5,sm3}-buffer: Ignore too old OpenSSL versions.

* lib/sha1.h: If <openssl/macros.h> would give a compile-time error,
undefine HAVE_OPENSSL_SHA1.
* lib/sha256.h: If <openssl/macros.h> would give a compile-time error,
undefine HAVE_OPENSSL_SHA256.
* lib/sha512.h: If <openssl/macros.h> would give a compile-time error,
undefine HAVE_OPENSSL_SHA512.
* lib/md5.h: If <openssl/macros.h> would give a compile-time error,
undefine HAVE_OPENSSL_MD5.
* lib/sm3.h: If <openssl/macros.h> would give a compile-time error,
undefine HAVE_OPENSSL_SM3.
ChangeLog
lib/md5.h
lib/sha1.h
lib/sha256.h
lib/sha512.h
lib/sm3.h