SHA256
6
0
forked from pool/rpm
Files
rpm/initgcrypt.diff

12 lines
391 B
Diff
Raw Normal View History

--- ./rpmio/digest_beecrypt.c.orig 2020-04-03 10:29:07.605265786 +0000
+++ ./rpmio/digest_beecrypt.c 2020-04-03 10:29:21.765221764 +0000
@@ -38,6 +38,8 @@ struct DIGEST_CTX_s {
/**************************** init ************************************/
int rpmInitCrypto(void) {
+ gcry_check_version (NULL);
+ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
return 0;
}