aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/lion/lion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/lion/lion.cpp')
-rw-r--r--src/block/lion/lion.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/lion/lion.cpp b/src/block/lion/lion.cpp
index 8c39eee65..4a9e8b901 100644
--- a/src/block/lion/lion.cpp
+++ b/src/block/lion/lion.cpp
@@ -72,8 +72,8 @@ void Lion::key_schedule(const byte key[], size_t length)
{
clear();
- key1.copy(key, length / 2);
- key2.copy(key + length / 2, length / 2);
+ key1.assign(key, key + (length / 2));
+ key2.assign(key + (length / 2), key + length);
}
/*