summaryrefslogtreecommitdiff
path: root/lubyrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'lubyrack.h')
-rw-r--r--lubyrack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lubyrack.h b/lubyrack.h
index c04fd91..424152a 100644
--- a/lubyrack.h
+++ b/lubyrack.h
@@ -84,7 +84,7 @@ class LR : public LR_Info<T>, public BlockCipherDocumentation
if (xorBlock)
xorbuf(outBlock, xorBlock, this->buffer, 2*this->S);
else
- memcpy(outBlock, this->buffer, 2*this->S);
+ memcpy_s(outBlock, 2*this->S, this->buffer, 2*this->S);
}
};