Module Name:    src
Committed By:   christos
Date:           Sun Dec 27 17:27:29 UTC 2009

Modified Files:
        src/external/bsd/bind/dist/lib/dns: openssl_link.c

Log Message:
adjust entropy_add signature. (From Kurt Schreiner)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 \
    src/external/bsd/bind/dist/lib/dns/openssl_link.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/lib/dns/openssl_link.c
diff -u src/external/bsd/bind/dist/lib/dns/openssl_link.c:1.1.1.2 src/external/bsd/bind/dist/lib/dns/openssl_link.c:1.2
--- src/external/bsd/bind/dist/lib/dns/openssl_link.c:1.1.1.2	Sat Oct 24 20:02:31 2009
+++ src/external/bsd/bind/dist/lib/dns/openssl_link.c	Sun Dec 27 12:27:29 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: openssl_link.c,v 1.1.1.2 2009/10/25 00:02:31 christos Exp $	*/
+/*	$NetBSD: openssl_link.c,v 1.2 2009/12/27 17:27:29 christos Exp $	*/
 
 /*
  * Portions Copyright (C) 2004-2009  Internet Systems Consortium, Inc. ("ISC")
@@ -98,7 +98,7 @@
 	return (result == ISC_R_SUCCESS ? num : -1);
 }
 
-static void
+static int
 entropy_add(const void *buf, int num, double entropy) {
 	/*
 	 * Do nothing.  The only call to this provides no useful data anyway.
@@ -106,6 +106,7 @@
 	UNUSED(buf);
 	UNUSED(num);
 	UNUSED(entropy);
+	return 0;
 }
 
 static void

Reply via email to