File openssl-1_1-FIPS-CRNGT_BUFSIZ.patch of Package openssl-1_1

Index: openssl-1.1.1w/crypto/rand/rand_local.h
===================================================================
--- openssl-1.1.1w.orig/crypto/rand/rand_local.h
+++ openssl-1.1.1w/crypto/rand/rand_local.h
@@ -39,9 +39,11 @@
  * arbitrary, the smaller the value, the less entropy is consumed on first
  * read but the higher the probability of the test failing by accident.
  *
+ * We use 64 bytes to align to Userspace Jitter RNG output buffer.
+ *
  * The value is in bytes.
  */
-#define CRNGT_BUFSIZ    16
+#define CRNGT_BUFSIZ    64
 
 /*
  * Maximum input size for the DRBG (entropy, nonce, personalization string)
openSUSE Build Service is sponsored by