summaryrefslogtreecommitdiffstats
path: root/mod_nss.c
diff options
context:
space:
mode:
authorrcritten <>2005-10-03 14:59:26 +0000
committerrcritten <>2005-10-03 14:59:26 +0000
commit252fddba6cd7431db7cbd8a677bb52860ef5ba0a (patch)
tree61870bc9bc6ff42f336a757fcffc4767627bd4b2 /mod_nss.c
parent98c66d1255fdb2fc60defa96a8eeaa7085c6f467 (diff)
downloadmod_nss-252fddba6cd7431db7cbd8a677bb52860ef5ba0a.tar.gz
mod_nss-252fddba6cd7431db7cbd8a677bb52860ef5ba0a.tar.xz
mod_nss-252fddba6cd7431db7cbd8a677bb52860ef5ba0a.zip
Add support for seeding the NSS Random Number Generator. This adds
a new directive, NSSRandomSeed based on the mod_ssl SSLRandomSeed directive.
Diffstat (limited to 'mod_nss.c')
-rw-r--r--mod_nss.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod_nss.c b/mod_nss.c
index 2dd2f3c..b1f8721 100644
--- a/mod_nss.c
+++ b/mod_nss.c
@@ -63,6 +63,9 @@ static const command_rec nss_config_cmds[] = {
SSL_CMD_SRV(OCSP, FLAG,
"OCSP (Online Certificate Status Protocol)"
"(`on', `off')")
+ SSL_CMD_SRV(RandomSeed, TAKE23,
+ "SSL Pseudo Random Number Generator (PRNG) seeding source "
+ "(`startup builtin|file:/path|exec:/path [bytes]')")
/*
* Per-server context configuration directives