Update fipssyms.h to keep all symbols in FIPS,fips namespace.
[openssl.git] / fips / rand / fips_drbg_hash.c
index 8b49f33a63081f0dcc63965dd171451e19e96bc3..a94170f135b5d34c6517c33d091e1f77228ca89f 100644 (file)
@@ -204,13 +204,13 @@ static int hash_gen(DRBG_CTX *dctx, unsigned char *out, size_t outlen)
                if (outlen < dctx->blocklength)
                        {
                        FIPS_digestfinal(&hctx->mctx, hctx->vtmp, NULL);
-                       if (!drbg_cprng_test(dctx, hctx->vtmp))
+                       if (!fips_drbg_cprng_test(dctx, hctx->vtmp))
                                return 0;
                        memcpy(out, hctx->vtmp, outlen);
                        return 1;
                        }
                FIPS_digestfinal(&hctx->mctx, out, NULL);
-               if (!drbg_cprng_test(dctx, out))
+               if (!fips_drbg_cprng_test(dctx, out))
                        return 0;
                outlen -= dctx->blocklength;
                if (outlen == 0)