aboutsummaryrefslogtreecommitdiff
path: root/src/common/Cryptography/ARC4.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-01-23 23:49:34 +0100
committerShauren <shauren.trinity@gmail.com>2022-01-23 23:49:34 +0100
commitcacdb57c9cd302e5d746e96cc37aa395564279c6 (patch)
treeb734f2dd66916dc1841f86e432c22499507a5626 /src/common/Cryptography/ARC4.h
parent5f5d32888ac97b24b46a9c2d08f028583faaa911 (diff)
Core/Crypto: c++17-ify crypto code cherry picked earlier that was downgraded to c++14
Diffstat (limited to 'src/common/Cryptography/ARC4.h')
-rw-r--r--src/common/Cryptography/ARC4.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/common/Cryptography/ARC4.h b/src/common/Cryptography/ARC4.h
index 8d5b89787e9..5ce2db5aa3b 100644
--- a/src/common/Cryptography/ARC4.h
+++ b/src/common/Cryptography/ARC4.h
@@ -22,9 +22,7 @@
#include <array>
#include <openssl/evp.h>
-namespace Trinity
-{
-namespace Crypto
+namespace Trinity::Crypto
{
class TC_COMMON_API ARC4
{
@@ -43,6 +41,5 @@ namespace Crypto
EVP_CIPHER_CTX* _ctx;
};
}
-}
#endif