summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_rand.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2005-04-26 18:53:22 +0000
committerBodo Möller <bodo@openssl.org>2005-04-26 18:53:22 +0000
commitaa4ce7315f65fdf8940d5bc9e562aa478f0335d3 (patch)
tree204f2143da41bd1cdff17503baeab94ea58d4e89 /crypto/bn/bn_rand.c
parentc741b83762a9f318d515f32624caab6aedf8d2c5 (diff)
Fix various incorrect error function codes.
("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
Diffstat (limited to 'crypto/bn/bn_rand.c')
-rw-r--r--crypto/bn/bn_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c
index 323bfa74bc..f51830b12b 100644
--- a/crypto/bn/bn_rand.c
+++ b/crypto/bn/bn_rand.c
@@ -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;
}