diff options
author | rcritten <> | 2011-03-02 21:12:05 +0000 |
---|---|---|
committer | rcritten <> | 2011-03-02 21:12:05 +0000 |
commit | f656ffc036af239a4236f1c1fc97e32a809d470d (patch) | |
tree | 334e7b4af59abcd246d345f2ddadb5a659c1598c /nss_engine_config.c | |
parent | 1a10bf6ecc79da62bba901758feaa134aa4d50ca (diff) | |
download | mod_nss-f656ffc036af239a4236f1c1fc97e32a809d470d.tar.gz mod_nss-f656ffc036af239a4236f1c1fc97e32a809d470d.tar.xz mod_nss-f656ffc036af239a4236f1c1fc97e32a809d470d.zip |
Add a semaphore lock around retrieving token PINs from the nss_pcache
pipe. Rarely requests to the pipe were getting overridden causing
that child to not enable SSL.
Fedora bug 677701
Diffstat (limited to 'nss_engine_config.c')
-rw-r--r-- | nss_engine_config.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nss_engine_config.c b/nss_engine_config.c index 64ec447..2f1fb5c 100644 --- a/nss_engine_config.c +++ b/nss_engine_config.c @@ -830,3 +830,12 @@ const char *nss_cmd_NSSOptions(cmd_parms *cmd, return NULL; } + +const char *set_user(cmd_parms *cmd, void *dummy, const char *arg) +{ + SSLModConfigRec *mc = myModConfig(cmd->server); + + mc->user = arg; + + return NULL; +} |