aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/cecpq1/cecpq1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pubkey/cecpq1/cecpq1.cpp')
-rw-r--r--src/lib/pubkey/cecpq1/cecpq1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/pubkey/cecpq1/cecpq1.cpp b/src/lib/pubkey/cecpq1/cecpq1.cpp
index d5b6ae702..83c0a383c 100644
--- a/src/lib/pubkey/cecpq1/cecpq1.cpp
+++ b/src/lib/pubkey/cecpq1/cecpq1.cpp
@@ -27,7 +27,7 @@ void CECPQ1_accept(uint8_t shared_key[CECPQ1_SHARED_KEY_BYTES],
const uint8_t received[CECPQ1_OFFER_BYTES],
RandomNumberGenerator& rng)
{
- secure_vector<byte> x25519_key = rng.random_vec(32);
+ secure_vector<uint8_t> x25519_key = rng.random_vec(32);
curve25519_basepoint(send, x25519_key.data());