summaryrefslogtreecommitdiff
path: root/tests/keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/keygen.c')
-rw-r--r--tests/keygen.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/keygen.c b/tests/keygen.c
index 25f753ea..f5d5610c 100644
--- a/tests/keygen.c
+++ b/tests/keygen.c
@@ -271,7 +271,15 @@ static void
progress_cb (void *cb_data, const char *what, int printchar,
int current, int total)
{
- putchar (printchar);
+ (void)cb_data;
+ (void)what;
+ (void)current;
+ (void)total;
+
+ if (printchar == '\n')
+ fputs ( "<LF>", stdout);
+ else
+ putchar (printchar);
fflush (stdout);
}