Better libk5crypto NSS fork safety
authorGreg Hudson <ghudson@mit.edu>
Sat, 23 Oct 2010 00:38:17 +0000 (00:38 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sat, 23 Oct 2010 00:38:17 +0000 (00:38 +0000)
commit03a197a41f4f8d2cd2ec5da3892a006bd1b0d265
tree95ab31fa0759cfaf7cae4788c0f7477e771311e1
parentf6fe2be37c17c7cabb61af0f3e676dcecea8f5a8
Better libk5crypto NSS fork safety

Use SECMOD_RestartModules() from the forthcoming NSS 3.12.9 release to
make the libk5crypto back end work after a fork.  Add a test program
to exercise fork detection in the NSS back end.  Add a configure-time
version check to ensure that we're using NSS 3.12.9 or later.

ticket: 6810
target_version: 1.9
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24470 dc483132-0cff-0310-8789-dd5450dbe970
src/configure.in
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/t_fork.c [new file with mode: 0644]
src/lib/crypto/nss/enc_provider/enc_gen.c