typos; refs #28
This commit is contained in:
		| @@ -219,7 +219,7 @@ namespace cryptoki { | ||||
|       if (!*this) return res; | ||||
|       for (CK_ULONG i(0); i<count; ++i) { | ||||
|         Slot s(*this, slots[i]); | ||||
|         if (!name.size() || name==s.slotInfo().slotDescription) | ||||
|         if (!name.size() || name==s.slotinfo().slotDescription) | ||||
|           res.push_back(s); | ||||
|       } | ||||
|     } catch (...) { | ||||
|   | ||||
| @@ -25,9 +25,9 @@ | ||||
| #  error OpenSSL Version Number not Found | ||||
| #elif OPENSSL_VERSION_NUMBER < 0x00908000L | ||||
| #  ifdef ALLOW_SSL_OLDER_THAN_0_8 | ||||
| #    warning OpenSSL older than 0.8 detected | ||||
| #    warning OpenSSL older than 0.8 detected please upgrade to 1.0 | ||||
| #  else | ||||
| #    error OpenSSL older than 0.8 detected | ||||
| #    error OpenSSL older than 0.8 detected please upgrade to 1.0 | ||||
| #  endif | ||||
| #  define OPENSSL_0_7 | ||||
| #  define V0_CONST | ||||
| @@ -35,16 +35,15 @@ | ||||
| #  define CV_X509 | ||||
| #elif OPENSSL_VERSION_NUMBER < 0x10000000L | ||||
| #  ifdef ALLOW_SSL_0_8 | ||||
| #    warning OpenSSL 0.8 detected | ||||
| #    warning OpenSSL 0.8 detected please upgrade to 1.0 | ||||
| #  else | ||||
| #    error OpenSSL 0.8 detected | ||||
| #    error OpenSSL 0.8 detected please upgrade to 1.0 | ||||
| #  endif | ||||
| #  define OPENSSL_0_8 | ||||
| #  define V0_CONST const | ||||
| #  define CV_STACK | ||||
| #  define CV_X509 | ||||
| #else | ||||
| #  warning current OpenSSL 1.0 detected | ||||
| #  define OPENSSL_1_0 | ||||
| #  define V0_CONST const | ||||
| #  define CV_STACK (_STACK*) | ||||
|   | ||||
| @@ -555,8 +555,8 @@ namespace pcsc { | ||||
|         Strings res; | ||||
|         pcsc::Connection::Strings readers(scan()); | ||||
|         for (pcsc::Connection::Strings::const_iterator it(readers.begin()); | ||||
|              it!=readers.end(); ++it) | ||||
|           if (_reader[*it].status().atr.find(atr)!=string::npos) | ||||
|              it!=readers.end(); ++it)  | ||||
|          if (_reader[*it]->status().atr.find(atr)!=string::npos) | ||||
|             res.push_back(*it); | ||||
|         return res; | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user