]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fix elifs
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Apr 2014 13:10:25 +0000 (13:10 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 23 Apr 2014 13:10:25 +0000 (13:10 +0000)
git-svn-id: file:///svn/unbound/trunk@3123 be551aaa-1e26-0410-a405-d3ace91eadb9

util/random.c

index 3df36c211c4552ea0c72dc3fbc3b98bb57e6a57d..039af344a22b8015c5fb395a0eab167a3e7d2b4a 100644 (file)
@@ -64,7 +64,7 @@
 
 #ifdef HAVE_ARC4RANDOM_UNIFORM
 /* no include for arc4_uniform */
-#elif HAVE_SSL
+#elif defined(HAVE_SSL)
 #include <openssl/rand.h>
 #include <openssl/rc4.h>
 #include <openssl/err.h>
@@ -109,7 +109,7 @@ ub_random(struct ub_randstate* ATTR_UNUSED(s))
        return (long)arc4random() & MAX_VALUE;
 }
 
-#elif HAVE_SSL
+#elif defined(HAVE_SSL)
 /**
  * Struct with per-thread random state.
  * Keeps SSL types away from the header file.