changeset 2207 | 64e8c961a4a2 |
parent 2180 | bc1340c26305 |
child 4720 | 1ccedfc24ebb |
--- a/components/openssl/openssl-1.0.1/engines/pkcs11/e_pk11.c Wed Nov 12 16:36:55 2014 -0800 +++ b/components/openssl/openssl-1.0.1/engines/pkcs11/e_pk11.c Fri Nov 14 07:56:14 2014 -0800 @@ -1076,6 +1076,9 @@ if (!pk11_library_initialized) return; + /* invalidate the global session */ + global_session = CK_INVALID_HANDLE; + for (i = OP_MAX - 1; i >= 0; i--) { (void) pthread_mutex_unlock(session_cache[i].lock);