test/test_pkcs11_thread.rb in pkcs11-0.2.7 vs test/test_pkcs11_thread.rb in pkcs11-0.3.0

- old
+ new

@@ -31,11 +31,11 @@ loop do count += 1 end } # This should take some seconds: - pub_key, priv_key = session.generate_key_pair(:RSA_PKCS_KEY_PAIR_GEN, - {:MODULUS_BITS=>2048, :PUBLIC_EXPONENT=>[3].pack("N"), :TOKEN=>false}, + _pub_key, _priv_key = session.generate_key_pair(:RSA_PKCS_KEY_PAIR_GEN, + {MODULUS_BITS: 2048, PUBLIC_EXPONENT: [65537].pack("N"), TOKEN: false}, {}) th.kill assert_operator count, :>, 100000, "The second thread should count further concurrent to the key generation" end