From: Brian Wellington Date: Mon, 31 Jul 2000 20:38:27 +0000 (+0000) Subject: Don't print "stop typing" if the user interrupted the entropy gathering. X-Git-Tag: v9.1.0b2~2^2~15 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=abb04a9d7060a042eec7909e8f100b837d541098;p=thirdparty%2Fbind9.git Don't print "stop typing" if the user interrupted the entropy gathering. --- diff --git a/bin/dnssec/dnssectool.c b/bin/dnssec/dnssectool.c index 944af7ed226..4a604cf84ed 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); }