*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.
/*
* 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>
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);