projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revise DRBG to split between internal and external flags.
[openssl.git]
/
fips
/
rand
/
fips_drbg_hmac.c
diff --git
a/fips/rand/fips_drbg_hmac.c
b/fips/rand/fips_drbg_hmac.c
index 7733386b92ea7bf633d35963d2d5a996042ef2c4..3984782f5fa87a92c5ee533ccbf78e5fa9f4f8b8 100644
(file)
--- a/
fips/rand/fips_drbg_hmac.c
+++ b/
fips/rand/fips_drbg_hmac.c
@@
-182,7
+182,7
@@
static int drbg_hmac_generate(DRBG_CTX *dctx,
return 0;
if (!HMAC_Update(hctx, Vtmp, dctx->blocklength))
return 0;
- if (!(dctx->flags & DRBG_FLAG_TEST) && !dctx->lb_valid)
+ if (!(dctx->
x
flags & DRBG_FLAG_TEST) && !dctx->lb_valid)
{
if (!HMAC_Final(hctx, dctx->lb, NULL))
return 0;