aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math/bigint/big_rand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/bigint/big_rand.cpp')
-rw-r--r--src/lib/math/bigint/big_rand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/bigint/big_rand.cpp b/src/lib/math/bigint/big_rand.cpp
index 73f3cf070..506e9776a 100644
--- a/src/lib/math/bigint/big_rand.cpp
+++ b/src/lib/math/bigint/big_rand.cpp
@@ -25,7 +25,7 @@ void BigInt::randomize(RandomNumberGenerator& rng,
}
else
{
- secure_vector<byte> array = rng.random_vec(round_up(bitsize, 8) / 8);
+ secure_vector<uint8_t> array = rng.random_vec(round_up(bitsize, 8) / 8);
// Always cut unwanted bits
if(bitsize % 8)