summaryrefslogtreecommitdiff
path: root/lubyrack.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-03-13 13:26:41 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-03-13 13:26:41 +0000
commit864f7a0ceb89bd28b842ec5e0d0ed6abf112be9c (patch)
treef30468f446dfdde7bc27bc6c82de67f227721b05 /lubyrack.h
parentfc3a5e7e8f632112420df1d99f0d2080f19477d0 (diff)
downloadcryptopp-864f7a0ceb89bd28b842ec5e0d0ed6abf112be9c.tar.gz
fix MSVC 2005 warnings
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@217 57ff6487-cd31-0410-9ec3-f628ee90f5f0
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);
}
};