pkcs11_init_key() has the same problem.