summaryrefslogtreecommitdiffstats
path: root/entropy.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-01-13 11:05:27 +0100
committerDamien Miller <djm@mindrot.org>2011-01-13 11:05:27 +0100
commitff22df538ef29d0596c9bff03f3c93fcd37ffb6e (patch)
treedd718657cf143a53829b75d4c348bb3631f7a209 /entropy.c
parent - (tim) [Makefile.in configure.ac opensshd.init.in] Add support for generating (diff)
downloadopenssh-ff22df538ef29d0596c9bff03f3c93fcd37ffb6e.tar.xz
openssh-ff22df538ef29d0596c9bff03f3c93fcd37ffb6e.zip
- (djm) [entropy.c] cast OPENSSL_VERSION_NUMBER to u_long to avoid
gcc warning on platforms where it defaults to int
Diffstat (limited to 'entropy.c')
-rw-r--r--entropy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/entropy.c b/entropy.c
index 8b705397f..a82166258 100644
--- a/entropy.c
+++ b/entropy.c
@@ -157,7 +157,7 @@ init_rng(void)
*/
if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L)
fatal("OpenSSL version mismatch. Built against %lx, you "
- "have %lx", OPENSSL_VERSION_NUMBER, SSLeay());
+ "have %lx", (u_long)OPENSSL_VERSION_NUMBER, SSLeay());
#ifndef OPENSSL_PRNG_ONLY
original_uid = getuid();