random: simplify fips mode
commit e954bc91 upstream. Rather than dynamically allocate 10 bytes, move it to static allocation. This saves space and avoids the need for error checking. Signed-off-by:Matt Mackall <mpm@selenic.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> [PG: adding this simplifies required updates to random for .34 stable] Signed-off-by:
Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by:
Willy Tarreau <w@1wt.eu>
Showing
Please register or sign in to comment