/* Mapping of SP800-90 DRBGs to OpenSSL RAND_METHOD */
/* Since we only have one global PRNG used at any time in OpenSSL use a global
- * variable to store contexts.
+ * variable to store context.
*/
static DRBG_CTX ossl_dctx;
adinlen = dctx->get_adin(dctx, &adin);
if (adinlen && !adin)
{
- /* ERROR */
+ FIPSerr(FIPS_F_FIPS_DRBG_BYTES, FIPS_R_ERROR_RETRIEVING_ADDITIONAL_INPUT);
goto err;
}
}