Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
xorg-x11-server
U_Brown-bag-commit-to-fix-957e8d-arc4random_buf...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File U_Brown-bag-commit-to-fix-957e8d-arc4random_buf-suppor.patch of Package xorg-x11-server
From 386fbbe410a1168b724136e54cf3bd37fb64ad4e Mon Sep 17 00:00:00 2001 From: Matthieu Herrb <matthieu@herrb.eu> Date: Wed, 1 Mar 2017 20:28:34 +0100 Subject: [PATCH xserver] Brown bag commit to fix 957e8d (arc4random_buf() support) - typo in #ifdef check - also need to add AC_CHECK_FUNCS([arc4random_buf]) Reported-by Eric Engestrom. Thanks Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> --- configure.ac | 1 + os/auth.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) Index: xorg-server-1.18.3/configure.ac =================================================================== --- xorg-server-1.18.3.orig/configure.ac +++ xorg-server-1.18.3/configure.ac @@ -224,6 +224,7 @@ AC_REPLACE_FUNCS([reallocarray strcasecm timingsafe_memcmp]) AC_CHECK_LIB([bsd], [arc4random_buf]) +AC_CHECK_FUNCS([arc4random_buf]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [[#include <errno.h>]]) Index: xorg-server-1.18.3/os/auth.c =================================================================== --- xorg-server-1.18.3.orig/os/auth.c +++ xorg-server-1.18.3/os/auth.c @@ -306,7 +306,7 @@ GenerateAuthorization(unsigned name_leng void GenerateRandomData(int len, char *buf) { -#ifdef HAVE_ARC4RANDOMBUF +#ifdef HAVE_ARC4RANDOM_BUF arc4random_buf(buf, len); #else int fd;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor