Extensive reorganisation of PRNG handling in FIPS module: all calls
[openssl.git] / fips / rand / fips_rand.c
index d56b940a6d9d1dfdda9d113d43ac1efa6e047de9..a8ebdb85c0c1581437fe5e0592f5f1f4cf148cd7 100644 (file)
@@ -214,7 +214,7 @@ int FIPS_x931_set_dt(unsigned char *dt)
        {
        if (!sctx.test_mode)
                {
-               RANDerr(RAND_F_FIPS_RAND_SET_DT,RAND_R_NOT_IN_TEST_MODE);
+               RANDerr(RAND_F_FIPS_X931_SET_DT,RAND_R_NOT_IN_TEST_MODE);
                return 0;
                }
        memcpy(sctx.DT, dt, AES_BLOCK_LENGTH);