summaryrefslogtreecommitdiff
path: root/scard-opensc.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-06 18:19:38 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-06 18:19:38 +0000
commit8d6017566c99387fa52d6f5a09af2be5407acf29 (patch)
treefa0d492a6efaf2f93e8d6d0f1354526b2fcbabf1 /scard-opensc.c
parent06e9515eb898a335be246759b3059f2e7a4da698 (diff)
downloadopenssh-git-8d6017566c99387fa52d6f5a09af2be5407acf29.tar.gz
- (bal) Slight update to OpenSC support. Better version checking. patch
by Juha Yrjölä <jyrjola@cc.hut.fi>
Diffstat (limited to 'scard-opensc.c')
-rw-r--r--scard-opensc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scard-opensc.c b/scard-opensc.c
index 2a18bebd..ff59b29c 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