diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-04-23 15:54:09 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-04-23 15:54:09 +0300 |
commit | 2ce7b56e621b097b76a2e5059def7d0e5a64d53b (patch) | |
tree | 3169750264194baaec554fab32f9725ce3939ba5 /lib/rpmts.c | |
parent | 4b523ac1b85b9d4f71cd024306f01c3fb2418c8f (diff) | |
download | librpm-tizen-2ce7b56e621b097b76a2e5059def7d0e5a64d53b.tar.gz librpm-tizen-2ce7b56e621b097b76a2e5059def7d0e5a64d53b.tar.bz2 librpm-tizen-2ce7b56e621b097b76a2e5059def7d0e5a64d53b.zip |
Hide NSS peculiarities from API
- PKCS#11 standard requires modules to be re-initialized after fork(),
arrange this to occur automatically.
- Most of the time child processes will exec() something else so dont
bother shutting down NSS for every child, only lazily re-initialize
as needed.
- This lets us initialize NSS early to force preloading of its dlopen()'ed
libraries to avoid issues on chroot(), without causing problems to API
users which fork() after initializing rpm (such as func, urpmi etc).
Diffstat (limited to 'lib/rpmts.c')
-rw-r--r-- | lib/rpmts.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c index 430d51190..b8735db87 100644 --- a/lib/rpmts.c +++ b/lib/rpmts.c @@ -1149,9 +1149,6 @@ rpmts rpmtsCreate(void) ts->nrefs = 0; - /* make sure crypto gets initialized before we might go chrooting */ - rpmInitCrypto(); - return rpmtsLink(ts, RPMDBG_M("tsCreate")); } |