]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
kbdstart had a reversed test
authorBrian Wellington <source@isc.org>
Thu, 22 Jun 2000 18:42:05 +0000 (18:42 +0000)
committerBrian Wellington <source@isc.org>
Thu, 22 Jun 2000 18:42:05 +0000 (18:42 +0000)
bin/dnssec/dnssectool.c

index 694134b956ade9cbb2d25d094547afcbb7dd9a61..22a15b9032f4d53e2e4a6ce7e2be4280c6a73520 100644 (file)
@@ -177,7 +177,7 @@ kbdstart(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) {
 
        UNUSED(source);
 
-       if (blocking)
+       if (!blocking)
                return (ISC_R_NOENTROPY);
        printf("start typing\n");
        return (isc_keyboard_open(kbd));