Fix typo in exptest.c.
[oweals/openssl.git] / crypto / bn / bn_rand.c
index 323bfa74bc12f5e7c2e6631818d360c1151e3a06..f51830b12ba8fde83a584c3455cc1ee215031f5e 100644 (file)
@@ -134,7 +134,7 @@ static int bnrand(int pseudorand, BIGNUM *rnd, int bits, int top, int bottom)
        buf=(unsigned char *)OPENSSL_malloc(bytes);
        if (buf == NULL)
                {
-               BNerr(BN_F_BN_RAND,ERR_R_MALLOC_FAILURE);
+               BNerr(BN_F_BNRAND,ERR_R_MALLOC_FAILURE);
                goto err;
                }