aboutsummaryrefslogtreecommitdiffstats
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test.c b/src/test.c
index 6aad5cf..e538316 100644
--- a/src/test.c
+++ b/src/test.c
@@ -33,14 +33,14 @@ int main(int argc, char** argv)
char* passphrase_;
/* Hide the passphrase */
- passphrase_disable_echo();
+ passphrase_disable_echo1(0);
/* Do things needed before reading the passphrase */
printf("Passphrase: ");
fflush(stdout);
/* Read the passphrase */
- passphrase = passphrase_read();
+ passphrase = passphrase_read2(0, 0);
if (passphrase == NULL)
{
/* Something went wrong, print what and exit */
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
free(passphrase_);
/* Stop hiding user input */
- passphrase_reenable_echo();
+ passphrase_reenable_echo1(0);
/* End of program */
return 0;