# HG changeset patch # User igerasim # Date 1401262886 -14400 # Node ID 0b2ad6558dc6762ff81e413ac9ec59a9f022f1ba # Parent ab51c36f66db1f1f43ca5adb447526816375c356 8039319: (smartcardio) Card.transmitControlCommand() does not work on Mac OS X Reviewed-by: valeriep diff -r ab51c36f66db -r 0b2ad6558dc6 jdk/src/solaris/native/sun/security/smartcardio/pcsc_md.c --- 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__ }