Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
libgcrypt.25806
libgcrypt-FIPS-Autoinitialize-drbg-if-needed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgcrypt-FIPS-Autoinitialize-drbg-if-needed.patch of Package libgcrypt.25806
Index: libgcrypt-1.6.1/random/drbg.c =================================================================== --- libgcrypt-1.6.1.orig/random/drbg.c +++ libgcrypt-1.6.1/random/drbg.c @@ -1786,6 +1786,7 @@ _gcry_drbg_add_bytes (const void *buf, s gpg_err_code_t ret = 0; struct gcry_drbg_string seed; (void) quality; + _gcry_drbg_init(1); /* Auto-initialize if needed */ if (NULL == gcry_drbg) return GPG_ERR_GENERAL; gcry_drbg_string_fill (&seed, (unsigned char *) buf, buflen); @@ -1803,6 +1804,7 @@ _gcry_drbg_randomize (void *buffer, size enum gcry_random_level level) { (void) level; + _gcry_drbg_init(1); /* Auto-initialize if needed */ gcry_drbg_lock (); if (NULL == gcry_drbg) {
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