- (bal) Slight update to OpenSC support.  Better version checking. patch
   by Juha Yrjölä <jyrjola@cc.hut.fi>
diff --git a/scard-opensc.c b/scard-opensc.c
index 2a18beb..ff59b29 100644
--- a/scard-opensc.c
+++ b/scard-opensc.c
@@ -38,7 +38,7 @@
 #include "readpass.h"
 #include "scard.h"
 
-#if OPENSSL_VERSION_NUMBER >= 0x00907000L
+#if OPENSSL_VERSION_NUMBER < 0x00907000L && defined(CRYPTO_LOCK_ENGINE)
 #define USE_ENGINE
 #define RSA_get_default_method RSA_get_default_openssl_method
 #else