8039319: (smartcardio) Card.transmitControlCommand() does not work on Mac OS X
Reviewed-by: valeriep
--- a/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c Tue May 27 17:26:52 2014 -0700
+++ b/jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c Wed May 28 11:41:26 2014 +0400
@@ -136,5 +136,9 @@
if ((*env)->ExceptionCheck(env)) {
return;
}
+#ifndef __APPLE__
scardControl = (FPTR_SCardControl) findFunction(env, hModule, "SCardControl");
+#else
+ scardControl = (FPTR_SCardControl) findFunction(env, hModule, "SCardControl132");
+#endif // __APPLE__
}