mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-27 06:57:09 +01:00
Initial preparations for CURL and Discord integration.
This commit is contained in:
1 parent
8257eb61d6
commit
95705e87c8
1751 files changed
+440547
-854
No files matched your search
@@ -98,7 +98,7 @@ String AES256::Encrypt(CSStr data)
|
||||
aes256_encrypt_ecb(&m_Context, reinterpret_cast< Uint8 * >(&str[n]));
|
||||
}
|
||||
// Return ownership of the encrypted string
|
||||
return std::move(str);
|
||||
return str;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
@@ -127,7 +127,7 @@ String AES256::Decrypt(CSStr data)
|
||||
str.pop_back();
|
||||
}
|
||||
// Return ownership of the encrypted string
|
||||
return std::move(str);
|
||||
return str;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Reference in new issue
Block a user