summaryrefslogtreecommitdiff
path: root/rc2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-04-15 16:45:02 -0400
committerGitHub <noreply@github.com>2023-04-15 16:45:02 -0400
commitf5f63850f9a5521e45de3cc45be61309a2e71ab2 (patch)
treed9ec904ebd511ae673e89790a407f0cdcf0b9bbc /rc2.cpp
parent358d0cfecd593d55160df38e133b9450aaf1cd59 (diff)
downloadcryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'rc2.cpp')
-rw-r--r--rc2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc2.cpp b/rc2.cpp
index 1469cc59..9bb428a8 100644
--- a/rc2.cpp
+++ b/rc2.cpp
@@ -34,7 +34,7 @@ void RC2::Base::UncheckedSetKey(const byte *key, unsigned int keyLen, const Name
197,243,219, 71,229,165,156,119, 10,166, 32,104,254,127,193,173};
SecByteBlock L(128);
- memcpy(L, key, keyLen);
+ std::memcpy(L, key, keyLen);
int i;
for (i=keyLen; i<128; i++)