Correct maximum request length. SP800-90 quotes maximum bits, not bytes.
[openssl.git] / fips / rand / fips_drbg_hash.c
index 481b356..07873ca 100644 (file)
@@ -371,7 +371,7 @@ int fips_drbg_hash_init(DRBG_CTX *dctx)
        dctx->max_pers = DRBG_MAX_LENGTH;
        dctx->max_adin = DRBG_MAX_LENGTH;
 
-       dctx->max_request = 1<<19;
+       dctx->max_request = 1<<16;
        dctx->reseed_interval = 1<<24;
 
        return 1;