From abb04a9d7060a042eec7909e8f100b837d541098 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 31 Jul 2000 20:38:27 +0000 Subject: [PATCH] Don't print "stop typing" if the user interrupted the entropy gathering. --- bin/dnssec/dnssectool.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/dnssec/dnssectool.c b/bin/dnssec/dnssectool.c index 944af7ed22..4a604cf84e 100644 --- a/bin/dnssec/dnssectool.c +++ b/bin/dnssec/dnssectool.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssectool.c,v 1.13 2000/07/27 09:36:34 tale Exp $ */ +/* $Id: dnssectool.c,v 1.14 2000/07/31 20:38:27 bwelling Exp $ */ #include @@ -201,7 +201,8 @@ kbdstop(isc_entropysource_t *source, void *arg) { UNUSED(source); - fprintf(stderr, "stop typing.\r\n"); + if (!isc_keyboard_canceled(kbd)) + fprintf(stderr, "stop typing.\r\n"); (void)isc_keyboard_close(kbd, 3); }