Copy the name of pkcs11_library_t objects

Strings returned by settings_t.create_section_enumerator will be freed
when the config is reloaded.
This commit is contained in:
Tobias Brunner
2012-10-18 14:42:09 +02:00
parent c30573467b
commit ca1c2ee281
2 changed files with 3 additions and 2 deletions
@@ -161,7 +161,7 @@ void pkcs11_library_trim(char *str, int len);
/**
* Create a pkcs11_library instance.
*
* @param name an arbitrary name, for debugging
* @param name an arbitrary name (for debugging), cloned
* @param file pkcs11 library file to dlopen()
* @param os_lock enforce OS Locking for this library
* @return library abstraction