From ea4d1dc728b3debbe2c74b144e140ff00f228085 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 6 Dec 2017 09:04:48 +0100 Subject: [PATCH] Typo in the getrandom patch. --- libgcrypt-1.8.1-getrandom.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcrypt-1.8.1-getrandom.patch b/libgcrypt-1.8.1-getrandom.patch index 470acd3..ea3b1ef 100644 --- a/libgcrypt-1.8.1-getrandom.patch +++ b/libgcrypt-1.8.1-getrandom.patch @@ -23,7 +23,7 @@ diff -up libgcrypt-1.8.1/random/random-csprng.c.getrandom libgcrypt-1.8.1/random + _gcry_pre_syscall (); + ret = syscall (__NR_getrandom, + (void*)buffer, (size_t)1, (unsigned int)GRND_NONBLOCK); -+ gcry_post_syscall (); ++ _gcry_post_syscall (); + if (ret != -1 || errno != ENOSYS) + { + fnc = _gcry_rndlinux_gather_random;