diff --git a/scard.c b/scard.c index b820112..40dd8fd 100644 --- a/scard.c +++ b/scard.c @@ -1772,8 +1772,6 @@ TS_SCardStatus(STREAM in, STREAM out, RD_BOOL wide) } else { - int i; - logger(SmartCard, Debug, "TS_SCardTransmit(), success, state=0x%08x, proto=0x%08x", (unsigned) dwState, (unsigned) dwProtocol); @@ -1879,8 +1877,6 @@ TS_SCardState(STREAM in, STREAM out) } else { - int i; - logger(SmartCard, Debug, "TS_SCardState(), success, state=0x%08x, proto=0x%08x", (unsigned) dwState, (unsigned) dwProtocol); diff --git a/ssl.c b/ssl.c index 065e404..eb2066f 100644 --- a/ssl.c +++ b/ssl.c @@ -161,10 +161,11 @@ rdssl_cert_to_rkey(RDSSL_CERT * cert, uint32 * key_len) int nid; int ret; +#if OPENSSL_VERSION_NUMBER >= 0x10100000L const unsigned char *p; - int pklen; - RSA *rsa = NULL; + int pklen; +#endif /* By some reason, Microsoft sets the OID of the Public RSA key to the oid for "MD5 with RSA Encryption" instead of "RSA Encryption"