aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_elg.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
committerJack Lloyd <[email protected]>2015-12-20 13:51:28 -0500
commit22d05ebfdbb409530fb20133cf150fb4c419faac (patch)
tree33498ae9e833f11cf2c27d15cbfe2ff502143ccd /src/tests/test_elg.cpp
parent1752f0d522eef9a4a703fccf702b4b026c1c1d01 (diff)
Add --data-dir option to test command
Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory.
Diffstat (limited to 'src/tests/test_elg.cpp')
-rw-r--r--src/tests/test_elg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_elg.cpp b/src/tests/test_elg.cpp
index 1dfbdf92f..31f8439f6 100644
--- a/src/tests/test_elg.cpp
+++ b/src/tests/test_elg.cpp
@@ -22,7 +22,7 @@ class ElGamal_KAT_Tests : public PK_Encryption_Decryption_Test
public:
ElGamal_KAT_Tests() : PK_Encryption_Decryption_Test(
"ElGamal",
- Test::data_file("pubkey/elgamal.vec"),
+ "pubkey/elgamal.vec",
{"P", "G", "X", "Msg", "Nonce", "Ciphertext"},
{"Padding"})
{}