Fix compile warnings about unused variables
This commit is contained in:
parent
02a7ec4361
commit
267db2ceff
4
scard.c
4
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);
|
||||
|
||||
|
5
ssl.c
5
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"
|
||||
|
Loading…
Reference in New Issue
Block a user