Subject: Re: OpenSSL upgrade time?
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 11/14/2006 14:17:27
--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Has this got something to do with the new openssl in current?

/usr/src/dist/ntp/util/ntp-keygen.c: In function 'main':
/usr/src/dist/ntp/util/ntp-keygen.c:269: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'int'

Cheers,

Patrick

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=ntppat

Index: ntp-keygen.c
===================================================================
RCS file: /cvsroot/src/dist/ntp/util/ntp-keygen.c,v
retrieving revision 1.6
diff -u -r1.6 ntp-keygen.c
--- ntp-keygen.c	11 Jun 2006 19:34:22 -0000	1.6
+++ ntp-keygen.c	14 Nov 2006 14:15:38 -0000
@@ -265,7 +265,7 @@
 	 */
 	if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) {
 		fprintf(stderr,
-		    "OpenSSL version mismatch. Built against %lx, you have %lx\n",
+		    "OpenSSL version mismatch. Built against %x, you have %lx\n",
 		    OPENSSL_VERSION_NUMBER, SSLeay());
 		return (-1);
 

--2oS5YaxWCcQjTEyO--