diff options
author | Henrik Andersson <hean01@cendio.com> | 2017-10-17 10:32:40 +0200 |
---|---|---|
committer | Henrik Andersson <hean01@cendio.com> | 2017-10-17 10:32:40 +0200 |
commit | 267db2ceffc75989559608f92e632a93b7dc1f0f (patch) | |
tree | a9099dbf2556957aa44b3244275dff23dab42c15 | |
parent | 02a7ec43611f09449fd9e0b42f7ea9e6afb22af4 (diff) | |
download | rdesktop-267db2ceffc75989559608f92e632a93b7dc1f0f.zip |
Fix compile warnings about unused variables
-rw-r--r-- | scard.c | 4 | ||||
-rw-r--r-- | ssl.c | 5 |
2 files changed, 3 insertions, 6 deletions
@@ -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); @@ -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" |