forked from pool/libgcrypt
Dirk Mueller
0de965d808
- fix bnc#856915: can't open /dev/urandom * correct libgcrypt-1.5.0-etc_gcrypt_rngseed-symlink.diff - require libgpg-error 1.11 or higher - fix dependency for 32bit devel package - name hmac files according soname - fix hmac subpackage dependency - update to 1.6. * Removed the long deprecated gcry_ac interface. Thus Libgcrypt is not anymore ABI compatible to previous versions if they used the ac interface. Check NEWS in libgcrypt-devel for removed interfaces. * Removed the module register subsystem. * The deprecated message digest debug macros have been removed. Use gcry_md_debug instead. * Removed deprecated control codes. * Improved performance of most cipher algorithms as well as for the SHA family of hash functions. * Added support for the IDEA cipher algorithm. * Added support for the Salsa20 and reduced Salsa20/12 stream ciphers. * Added limited support for the GOST 28147-89 cipher algorithm. * Added support for the GOST R 34.11-94 and R 34.11-2012 (Stribog) hash algorithms. * Added a random number generator to directly use the system's RNG. Also added an interface to prefer the use of a specified RNG. * Added support for the SCRYPT algorithm. * Mitigated the Yarom/Falkner flush+reload side-channel attack on RSA secret keys. See <http://eprint.iacr.org/2013/448> [CVE-2013-4242]. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=41
22 lines
673 B
Diff
22 lines
673 B
Diff
From: Michal Vyskoci<mvyskocil@suse.com>
|
|
Subject: Use internall malloc in fips.c
|
|
|
|
|
|
---
|
|
src/fips.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: libgcrypt-1.6.0/src/fips.c
|
|
===================================================================
|
|
--- libgcrypt-1.6.0.orig/src/fips.c
|
|
+++ libgcrypt-1.6.0/src/fips.c
|
|
@@ -613,7 +613,7 @@ check_binary_integrity (void)
|
|
err = gpg_error (GPG_ERR_INTERNAL);
|
|
else
|
|
{
|
|
- fname = gcry_malloc (strlen (info.dli_fname) + 1 + 5 + 1 );
|
|
+ fname = _gcry_malloc (strlen (info.dli_fname) + 1 + 5 + 1 );
|
|
if (!fname)
|
|
err = gpg_error_from_syserror ();
|
|
else
|