summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-03-18 14:03:51 -0400
committerJeffrey Walton <noloader@gmail.com>2021-03-18 14:03:51 -0400
commit89b20861b2343ec39d9646e23381b2bd490b0548 (patch)
treef2133f5fa61d380869cf669650e7e1660ba0402a
parent949b7632f11b4edaddfd05edb5042fbc0580348c (diff)
downloadcryptopp-git-89b20861b2343ec39d9646e23381b2bd490b0548.tar.gz
Use cryptest.dat data file for FileSource tests
-rw-r--r--GNUmakefile2
-rw-r--r--GNUmakefile-cross2
-rw-r--r--datatest.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 68a070c1..53c230ff 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1285,7 +1285,7 @@ clean:
-$(RM) adhoc.cpp.o adhoc.cpp.proto.o $(CLEAN_OBJS) rdrand-*.o
@-$(RM) libcryptopp.a libcryptopp.dylib cryptopp.dll libcryptopp.dll.a libcryptopp.import.a
@-$(RM) libcryptopp.so libcryptopp.so$(SOLIB_COMPAT_SUFFIX) libcryptopp.so$(SOLIB_VERSION_SUFFIX)
- @-$(RM) cryptest.exe dlltest.exe cryptest.import.exe cryptest.info ct et
+ @-$(RM) cryptest.exe dlltest.exe cryptest.import.exe cryptest.dat cryptest.info ct et
@-$(RM) *.la *.lo *.gcov *.gcno *.gcda *.stackdump core core-*
@-$(RM) /tmp/adhoc.exe
@-$(RM) -r /tmp/cryptopp_test/
diff --git a/GNUmakefile-cross b/GNUmakefile-cross
index 1a69c607..f8431083 100644
--- a/GNUmakefile-cross
+++ b/GNUmakefile-cross
@@ -734,7 +734,7 @@ clean:
-$(RM) adhoc.cpp.o adhoc.cpp.proto.o $(CLEAN_OBJS) $(ANDROID_CPU_OBJ) rdrand-*.o
@-$(RM) libcryptopp.a libcryptopp.dylib cryptopp.dll libcryptopp.dll.a libcryptopp.import.a
@-$(RM) libcryptopp.so libcryptopp.so$(SOLIB_COMPAT_SUFFIX) libcryptopp.so$(SOLIB_VERSION_SUFFIX)
- @-$(RM) cryptest.exe dlltest.exe cryptest.import.exe cryptest.info ct et
+ @-$(RM) cryptest.exe dlltest.exe cryptest.import.exe cryptest.dat cryptest.info ct et
@-$(RM) *.la *.lo *.gcov *.gcno *.gcda *.stackdump core core-*
@-$(RM) /tmp/adhoc.exe
@-$(RM) -r /tmp/cryptopp_test/
diff --git a/datatest.cpp b/datatest.cpp
index a65828d9..50659291 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -738,7 +738,7 @@ void TestSymmetricCipherWithFileSource(TestData &v, const NameValuePairs &overri
//RandomizedTransfer(pstore, encFilter, true);
//encFilter.MessageEnd();
- std::string testFilename = "test.dat";
+ std::string testFilename = "cryptest.dat";
StringSource(plaintext, true, new FileSink(testFilename.c_str()));
FileSource pstore(testFilename.c_str(), true);