]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
A trivial change (added a blank line) so I could add the comment I
authorDavid Lawrence <source@isc.org>
Thu, 31 May 2001 10:49:28 +0000 (10:49 +0000)
committerDavid Lawrence <source@isc.org>
Thu, 31 May 2001 10:49:28 +0000 (10:49 +0000)
*wanted* to add on the last check-in.

The second argument to hmacmd5_generate is no longer unused, it is a flag
to say whether good entropy is needed or not.  This change was approved
by Brian.  The control channel key generator needed it to be able to do
its job all on-the-fly.

lib/dns/sec/dst/hmac_link.c

index bc6438dfc5e17ca180d183d1dd49e5c0968d3386..68b9d79004441f60b1c8b1f5245e7447d90f2b2b 100644 (file)
@@ -19,7 +19,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: hmac_link.c,v 1.51 2001/05/31 10:47:17 tale Exp $
+ * $Id: hmac_link.c,v 1.52 2001/05/31 10:49:28 tale Exp $
  */
 
 #include <config.h>
@@ -139,6 +139,7 @@ hmacmd5_generate(dst_key_t *key, int good_entropy) {
        memset(data, 0, HMAC_LEN);
        ret = dst__entropy_getdata(data, bytes,
                                   good_entropy != 0 ? ISC_FALSE : ISC_TRUE);
+
        if (ret != ISC_R_SUCCESS)
                return (ret);