Skip to content

Commit

Permalink
Merge pull request #13 from fweimer-rh/c99
Browse files Browse the repository at this point in the history
configure: Fix incorrect argument type in gcry_md_open
  • Loading branch information
dajobe authored Dec 21, 2023
2 parents 51010dd + b5fdf25 commit ce52f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ elif test "$ac_cv_header_gcrypt_h" = "yes"; then
LIBS="$LIBS `$LIBGCRYPT_CONFIG --libs`"

AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <gcrypt.h>]], [[ gcry_md_hd_t hash; gcry_md_open(hash, GCRY_MD_MD5, 0); ]])],[have_digest_gcrypt=yes],[have_digest_gcrypt=no])
#include <gcrypt.h>]], [[ gcry_md_hd_t hash; gcry_md_open(&hash, GCRY_MD_MD5, 0); ]])],[have_digest_gcrypt=yes],[have_digest_gcrypt=no])

CPPFLAGS="$oCPPFLAGS"
LIBS="$oLIBS"
Expand Down

0 comments on commit ce52f41

Please sign in to comment.