[gnutls-devel] GnuTLS | use bcrypt for the windows random generator instead of wincrypt (!1255)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun May 24 21:29:12 CEST 2020
Dmitry Baryshkov started a new discussion on configure.ac: https://gitlab.com/gnutls/gnutls/-/merge_requests/1255#note_348028571
>
> AM_CONDITIONAL(HAVE_LIBIDN2, test "$with_libidn2" != "no")
>
> +AC_ARG_ENABLE(bcrypt,
> +AS_HELP_STRING([--enable-bcrypt],
> + [use bcrypt for random generator on Windows (otherwise wincrypt)]),
> + use_win_bcrypt=$enableval, use_win_bcrypt=no)
> +if test "x$have_vista_dynamic" = "xno"; then
> + if test "x$use_win_bcrypt" != xno; then
> + AC_CHECK_TYPES([BCRYPT_ALG_HANDLE],[LIBBCRYPT="-lbcrypt"],[],[#include <windows.h>
> + #include <bcrypt.h>])
> + fi
> +fi
> +AC_SUBST([LIBBCRYPT])
As with !1254 if there is no point in manually selecting WinCrypt for Vista+ builds, I'd suggest to select one depending on the selected version.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1255#note_348028571
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200524/49c001b8/attachment.html>
More information about the Gnutls-devel
mailing list