[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
Tue May 26 07:50:49 CEST 2020




Steve Lhomme commented on a discussion on configure.ac: https://gitlab.com/gnutls/gnutls/-/merge_requests/1255#note_348724345

>  
>  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])

I removed the option and rebased on top of !1254 to get the same Vista detection and Vista CI build. This MR shouldn't be merged until !1254 is merged.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1255#note_348724345
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/20200526/f4fd20a5/attachment.html>


More information about the Gnutls-devel mailing list