Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/bind/dist/lib/dns adjust entropy_add signature....



details:   https://anonhg.NetBSD.org/src/rev/dec0ac0e3ba7
branches:  trunk
changeset: 750358:dec0ac0e3ba7
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 27 17:27:29 2009 +0000

description:
adjust entropy_add signature. (From Kurt Schreiner)

diffstat:

 external/bsd/bind/dist/lib/dns/openssl_link.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d2f961ba8ae8 -r dec0ac0e3ba7 external/bsd/bind/dist/lib/dns/openssl_link.c
--- a/external/bsd/bind/dist/lib/dns/openssl_link.c     Sun Dec 27 16:03:49 2009 +0000
+++ b/external/bsd/bind/dist/lib/dns/openssl_link.c     Sun Dec 27 17:27:29 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index