From 5866adb0b8736c46f218976b2223b46e93a03b68 Mon Sep 17 00:00:00 2001 From: mouring Date: Sat, 6 Apr 2002 18:19:38 +0000 Subject: [PATCH] =?utf8?q?=20-=20(bal)=20Slight=20update=20to=20OpenSC=20s?= =?utf8?q?upport.=20=20Better=20version=20checking.=20patch=20=20=20=20by?= =?utf8?q?=20Juha=20Yrj=F6l=E4=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ChangeLog | 3 ++- scard-opensc.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c337d90..e1470da0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,7 +7,8 @@ [sftp-client.c] Fix occasional corruption on upload due to bad reuse of request id, spotted by chombier@mac.com; ok markus@ - + - (bal) Slight update to OpenSC support. Better version checking. patch + by Juha Yrjölä 20020405 - (bal) Patch for OpenSC SmartCard library; ok markus@; patch by 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 -- 2.45.2