Fixed the non-recursive global engine lock issue
Fixed the non-recursive global engine lock issue

Whenever possible, libp11 is initialized at first use, and not
in ENGINE_init().  This prevents the code from crashing when the
loaded PKCS#11 module locks the global engine rwlock (either
CRYPTO_LOCK_ENGINE or global_engine_lock).

dengert/libp11,mtrojnar/libp11,mouse07410/libp11,nmav/libp11,mouse07410/libp11,OpenSC/libp11,OpenSC/libp11,dengert/libp11,mtrojnar/libp11,nmav/libp11