mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-12 03:16:07 +08:00
uncommented crypto tests and fixed line endings
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace CryptoPP;
|
using namespace CryptoPP;
|
||||||
|
|
||||||
/*TEST(CCryptoTests, encrypt)
|
TEST(CCryptoTests, encrypt)
|
||||||
{
|
{
|
||||||
string plaintext = "hello", ciphertext;
|
string plaintext = "hello", ciphertext;
|
||||||
const byte key[] = "123456781234567";
|
const byte key[] = "123456781234567";
|
||||||
@@ -58,4 +58,3 @@ TEST(CCryptoTests, decrypt)
|
|||||||
|
|
||||||
EXPECT_EQ("hello", plaintext);
|
EXPECT_EQ("hello", plaintext);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
set(cpp_dir cryptopp561)
|
set(cpp_dir cryptopp561)
|
||||||
|
|
||||||
file(GLOB cpp_src ${cpp_dir}/*.cpp)
|
file(GLOB cpp_src ${cpp_dir}/*.cpp)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
|||||||
Reference in New Issue
Block a user