Accepting request 645121 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/645121 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgcrypt?expand=0&rev=74
This commit is contained in:
commit
ca00da8440
@ -1,7 +1,7 @@
|
|||||||
Index: libgcrypt-1.8.0/random/rndlinux.c
|
Index: libgcrypt-1.8.4/random/rndlinux.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- libgcrypt-1.8.0.orig/random/rndlinux.c 2017-07-21 17:45:39.193291437 +0200
|
--- libgcrypt-1.8.4.orig/random/rndlinux.c
|
||||||
+++ libgcrypt-1.8.0/random/rndlinux.c 2017-07-21 17:48:44.539152641 +0200
|
+++ libgcrypt-1.8.4/random/rndlinux.c
|
||||||
@@ -40,7 +40,9 @@
|
@@ -40,7 +40,9 @@
|
||||||
#include "g10lib.h"
|
#include "g10lib.h"
|
||||||
#include "rand-internal.h"
|
#include "rand-internal.h"
|
||||||
@ -31,15 +31,15 @@ Index: libgcrypt-1.8.0/random/rndlinux.c
|
|||||||
if (fd == -1 && retry)
|
if (fd == -1 && retry)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
@@ -115,6 +119,7 @@ _gcry_rndlinux_gather_random (void (*add
|
@@ -116,6 +120,7 @@ _gcry_rndlinux_gather_random (void (*add
|
||||||
{
|
{
|
||||||
static int fd_urandom = -1;
|
static int fd_urandom = -1;
|
||||||
static int fd_random = -1;
|
static int fd_random = -1;
|
||||||
+ static int fd_configured = -1;
|
+ static int fd_configured = -1;
|
||||||
static int only_urandom = -1;
|
static int only_urandom = -1;
|
||||||
static unsigned char ever_opened;
|
static unsigned char ever_opened;
|
||||||
int fd;
|
static volatile pid_t my_pid; /* The volatile is there to make sure
|
||||||
@@ -150,6 +155,11 @@ _gcry_rndlinux_gather_random (void (*add
|
@@ -156,6 +161,11 @@ _gcry_rndlinux_gather_random (void (*add
|
||||||
close (fd_urandom);
|
close (fd_urandom);
|
||||||
fd_urandom = -1;
|
fd_urandom = -1;
|
||||||
}
|
}
|
||||||
@ -51,7 +51,7 @@ Index: libgcrypt-1.8.0/random/rndlinux.c
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,11 +200,21 @@ _gcry_rndlinux_gather_random (void (*add
|
@@ -215,11 +225,21 @@ _gcry_rndlinux_gather_random (void (*add
|
||||||
that we always require the device to be existent but want a more
|
that we always require the device to be existent but want a more
|
||||||
graceful behaviour if the rarely needed close operation has been
|
graceful behaviour if the rarely needed close operation has been
|
||||||
used and the device needs to be re-opened later. */
|
used and the device needs to be re-opened later. */
|
||||||
@ -74,7 +74,7 @@ Index: libgcrypt-1.8.0/random/rndlinux.c
|
|||||||
ever_opened |= 1;
|
ever_opened |= 1;
|
||||||
}
|
}
|
||||||
fd = fd_random;
|
fd = fd_random;
|
||||||
@@ -203,7 +223,7 @@ _gcry_rndlinux_gather_random (void (*add
|
@@ -228,7 +248,7 @@ _gcry_rndlinux_gather_random (void (*add
|
||||||
{
|
{
|
||||||
if (fd_urandom == -1)
|
if (fd_urandom == -1)
|
||||||
{
|
{
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:66ec90be036747602f2b48f98312361a9180c97c68a690a5f376fa0f67d0af7c
|
|
||||||
size 2989166
|
|
Binary file not shown.
3
libgcrypt-1.8.4.tar.bz2
Normal file
3
libgcrypt-1.8.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f638143a0672628fde0cad745e9b14deb85dffb175709cacc1f4fe24b93f2227
|
||||||
|
size 2990108
|
BIN
libgcrypt-1.8.4.tar.bz2.sig
Normal file
BIN
libgcrypt-1.8.4.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 28 18:57:53 UTC 2018 - astieger@suse.com
|
||||||
|
|
||||||
|
- libgcrypt 1.8.4:
|
||||||
|
* Fix infinite loop with specific application implementations
|
||||||
|
* Fix possible leak of a few bits of secret primes to pageable
|
||||||
|
memory
|
||||||
|
* Fix possible hang in the RNG (1.8.3)
|
||||||
|
* Always make use of getrandom if possible and then use
|
||||||
|
its /dev/urandom behaviour
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 2 10:38:42 UTC 2018 - schwab@suse.de
|
Mon Jul 2 10:38:42 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
%define libsoname %{name}20
|
%define libsoname %{name}20
|
||||||
%define cavs_dir %{_libexecdir}/%{name}/cavs
|
%define cavs_dir %{_libexecdir}/%{name}/cavs
|
||||||
Name: libgcrypt
|
Name: libgcrypt
|
||||||
Version: 1.8.3
|
Version: 1.8.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The GNU Crypto Library
|
Summary: The GNU Crypto Library
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later
|
||||||
|
Loading…
Reference in New Issue
Block a user