blob: 1cfcdc397b8abeacd9c154442e14d7ae884fda47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff -Nru resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c resin-3.1.1/modules/c/src/apache2/mod_caucho.c
--- resin-3.1.1.vanilla/modules/c/src/apache2/mod_caucho.c 2007-04-13 15:41:18.000000000 +0200
+++ resin-3.1.1/modules/c/src/apache2/mod_caucho.c 2007-04-13 16:00:24.000000000 +0200
@@ -582,6 +582,16 @@
}
}
#endif
+ /* Add SSL Client certificate: (requires SSLOptions +StdEnvVars) */
+ {
+ int i;
+ char **env = (char **)ap_create_environment(r->pool, r->subprocess_env);
+ for (i = 0; env[i]; ++i) {
+ char *name = strsep(&(env[i]), "=");
+ if (strncmp(name, "SSL_CLIENT_CERT", 16) == 0)
+ cse_write_string(s, CSE_CLIENT_CERT, env[i]);
+ }
+ }
}
/**
|