diff --git a/lib/7.8/modules/Crypto.pmod/DSA.pike b/lib/7.8/modules/Crypto.pmod/DSA.pike
index 1f64678ee267c508dcad31ad01cc0c5d73658b2b..866764e42b86d871a62c66a0bd15ff40d66ba204 100644
--- a/lib/7.8/modules/Crypto.pmod/DSA.pike
+++ b/lib/7.8/modules/Crypto.pmod/DSA.pike
@@ -3,8 +3,7 @@
 
 #pike __REAL_VERSION__
 #pragma strict_types
-
-#if constant(Crypto.Random)
+#require constant(Crypto.Random)
 
 protected Gmp.mpz p; // Modulo
 protected Gmp.mpz q; // Group order
@@ -29,17 +28,6 @@ Gmp.mpz get_x() { return x; } //! Returns the private key.
 this_program set_public_key(Gmp.mpz p_, Gmp.mpz q_, Gmp.mpz g_, Gmp.mpz y_)
 {
   p = p_; q = q_; g = g_; y = y_;
-
-#if 0
-#define D(x) ((x) ? (x)->digits() : "NULL")
-  werror("dsa->set_public_key\n"
-	 "  p = %s,\n"
-	 "  q = %s,\n"
-	 "  g = %s,\n"
-	 "  y = %s,\n",
-	 D(p), D(q), D(g), D(y));
-#endif
-  
   return this;
 }
 
@@ -275,7 +263,3 @@ int(0..1) public_key_equal (.DSA dsa)
 
 //! Returns the string @expr{"DSA"@}.
 string name() { return "DSA"; }
-
-#else
-constant this_program_does_not_exist=1;
-#endif
diff --git a/lib/7.8/modules/Crypto.pmod/RSA.pike b/lib/7.8/modules/Crypto.pmod/RSA.pike
index 289a43c2c8f37742a4be9379b6d4da17692075ce..369cca8277f9ca6c7103a54359f1ab44d13ea7b6 100644
--- a/lib/7.8/modules/Crypto.pmod/RSA.pike
+++ b/lib/7.8/modules/Crypto.pmod/RSA.pike
@@ -4,8 +4,7 @@
 
 #pike 7.8
 #pragma strict_types
-
-#if constant(Crypto.Hash)
+#require constant(Crypto.Hash)
 
 protected Gmp.mpz n;  /* modulo */
 protected Gmp.mpz e;  /* public exponent */
@@ -396,7 +395,3 @@ string crypt(string s)
 string name() {
   return "RSA";
 }
-
-#else
-constant this_program_does_not_exist=1;
-#endif
diff --git a/lib/7.8/modules/SSL.pmod/Cipher.pmod b/lib/7.8/modules/SSL.pmod/Cipher.pmod
index a56b7c74b81c1af93e86f0edc38710b1342a87c6..d1dca84a5b5bec9afef23494fd86a631b9dc128a 100644
--- a/lib/7.8/modules/SSL.pmod/Cipher.pmod
+++ b/lib/7.8/modules/SSL.pmod/Cipher.pmod
@@ -1,6 +1,5 @@
 #pike 7.9
-
-#if constant(Crypto.Hash)
+#require constant(Crypto.Hash)
 
 //! Encryption and MAC algorithms used in SSL - Compat with Pike 7.8.
 
@@ -136,7 +135,3 @@ class DHKeyExchange
     ::create(p);
   }
 }
-
-#else // constant(Crypto.Hash)
-constant this_program_does_not_exist = 1;
-#endif