diff --git a/examples/nettle-openssl.c b/examples/nettle-openssl.c
index fcc7169e0f9c7cecde8bea402d86654db51adb64..0df56bd2a9b443fe33144ee2ac8de227cf5ceca1 100644
--- a/examples/nettle-openssl.c
+++ b/examples/nettle-openssl.c
@@ -31,6 +31,9 @@
 
 #if HAVE_LIBCRYPTO
 
+/* No ancient ssleay compatibility */
+#define NCOMPAT
+
 #include <assert.h>
 
 #include <openssl/blowfish.h>