Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
compat-openssl098.29129
openssl-randfile_fread_interrupt.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-randfile_fread_interrupt.patch of Package compat-openssl098.29129
Index: openssl-1.0.1i/crypto/rand/randfile.c =================================================================== --- openssl-1.0.1i.orig/crypto/rand/randfile.c 2016-09-23 16:32:24.959499658 +0200 +++ openssl-1.0.1i/crypto/rand/randfile.c 2016-09-23 16:32:25.675510944 +0200 @@ -159,6 +159,11 @@ int RAND_load_file(const char *file, lon else n = BUFSIZE; i=fread(buf,1,n,in); + if (i <= 0 && ferror(in) && errno == EINTR) { + clearerr(in); + continue; + } + if (i <= 0) break; #ifdef PURIFY RAND_add(buf,i,(double)i);
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