+2023-09-01 Bruno Haible <bruno@clisp.org>
+
+ crypto/{sha*,md5}-buffer: Add comment.
+ * m4/gl-openssl.m4 (gl_CRYPTO_CHECK): Add comment regarding license.
+
2023-09-01 Bruno Haible <bruno@clisp.org>
crypto/{sha*,md5,sm3}-buffer: Fix --with-openssl (regr. 2023-08-26).
-# gl-openssl.m4 serial 6
+# gl-openssl.m4 serial 7
dnl Copyright (C) 2013-2023 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_SUBST([LIB_CRYPTO])
if test "x$with_openssl" != xno; then
if test "x$with_openssl" = xauto-gpl-compat; then
+ dnl OpenSSL versions < 3 are under the OpenSSL license, which is not
+ dnl GPL compatible.
+ dnl See <https://www.gnu.org/licenses/license-list.en.html#OpenSSL>.
AC_CACHE_CHECK([whether openssl is GPL compatible],
[gl_cv_openssl_gpl_compat],
[AC_COMPILE_IFELSE(