diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
index d7eb67328d6de3f5dbe1e4985c40b9579795b615..9f674ddc92804cae9c69599e42ac4578f92e7639 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -17,7 +17,7 @@ DEPS_gcrypt = gpg-error
 
 GCRYPT_CONF = \
 	--enable-ciphers=aes,des,rfc2268,arcfour \
-	--enable-digests=sha1,md5,rmd160,sha512 \
+	--enable-digests=sha1,md5,rmd160,sha256,sha512 \
 	--enable-pubkey-ciphers=dsa,rsa,ecc
 ifdef HAVE_WIN64
 GCRYPT_CONF += --disable-asm