]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Check WITH_OPENSSL, not HAVE_LIBCRYPTO.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 13 Nov 2004 09:17:44 +0000 (10:17 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 13 Nov 2004 09:17:44 +0000 (10:17 +0100)
Rev: src/nettle/examples/nettle-openssl.c:1.5

examples/nettle-openssl.c

index 0df56bd2a9b443fe33144ee2ac8de227cf5ceca1..c0084547452995d9884eeb46a354a3d0a0e6a999 100644 (file)
@@ -29,7 +29,7 @@
 
 /* Openssl glue, for comparative benchmarking only */
 
-#if HAVE_LIBCRYPTO
+#if WITH_OPENSSL
 
 /* No ancient ssleay compatibility */
 #define NCOMPAT
@@ -189,4 +189,4 @@ nettle_openssl_cast128 = {
   openssl_cast_encrypt, openssl_cast_decrypt
 };
 
-#endif /* HAVE_LIBCRYPTO */
+#endif /* WITH_OPENSSL */