]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Call isc_entropy_stopcallbacksources to reset the keyboard after the call
authorBrian Wellington <source@isc.org>
Thu, 22 Jun 2000 02:48:12 +0000 (02:48 +0000)
committerBrian Wellington <source@isc.org>
Thu, 22 Jun 2000 02:48:12 +0000 (02:48 +0000)
to dst_key_generate

bin/dnssec/dnssec-keygen.c

index 3fdda5304e5c9d3e26e70bc26568cb46f461e64a..098986227a600cd1ac4613923c7ab985848044f7 100644 (file)
@@ -17,7 +17,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-keygen.c,v 1.35 2000/06/19 17:44:52 bwelling Exp $ */
+/* $Id: dnssec-keygen.c,v 1.36 2000/06/22 02:48:12 bwelling Exp $ */
 
 #include <config.h>
 
@@ -326,6 +326,7 @@ main(int argc, char **argv) {
                /* generate the key */
                ret = dst_key_generate(name, alg, size, param, flags, protocol,
                                       mctx, &key);
+               isc_entropy_stopcallbacksources(ectx);
 
                if (ret != ISC_R_SUCCESS) {
                        fatal("failed to generate key %s/%s: %s\n",