smartcard 0.4.4-x86-mswin32-60 → 0.4.5-x86-mswin32-60
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/smartcard/iso/jcop_remote_transport.rb +1 -1
- data/lib/smartcard/pcsc.so +0 -0
- data/smartcard.gemspec +1 -1
- data/test/iso/jcop_remote_test.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -58,7 +58,7 @@ class JcopRemoteTransport
|
|
58
58
|
# Wait for the card to be inserted.
|
59
59
|
send_message @socket, :type => 0, :node => 0, :data => [0, 1, 0, 0]
|
60
60
|
message = recv_message @socket
|
61
|
-
@atr = message[:data]
|
61
|
+
@atr = message[:data].pack('C*')
|
62
62
|
rescue Exception
|
63
63
|
@socket = nil
|
64
64
|
raise
|
data/lib/smartcard/pcsc.so
CHANGED
Binary file
|
data/smartcard.gemspec
CHANGED
@@ -68,7 +68,7 @@ class JcopRemoteTest < Test::Unit::TestCase
|
|
68
68
|
Kernel.sleep 0.05 # Wait for the server to start up.
|
69
69
|
@client.connect
|
70
70
|
assert_equal apdu_response, @client.exchange_apdu(apdu_request)
|
71
|
-
assert_equal
|
71
|
+
assert_equal "\x31\x41\x59", @client.card_atr
|
72
72
|
@client.disconnect
|
73
73
|
Kernel.sleep 0.05 # Wait for the server to process the disconnect.
|
74
74
|
assert_equal [:start, apdu_request, :end], logic.received
|