bernd commited on 2009-06-08 14:17:40
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1395 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -40,7 +40,7 @@ DEBUG($_ENV); |
40 | 40 |
if ($_SESSION['role'] != ROLE_ANONYMOUS && isset($_REQUEST['record']) && isset($_REQUEST['backto']) && check_path($_REQUEST['backto'])) |
41 | 41 |
{ |
42 | 42 |
DEBUG('recording client-cert'); |
43 |
- if (isset($_ENV['REDIRECT_SSL_CLIENT_CERT'])) |
|
43 |
+ if (isset($_ENV['REDIRECT_SSL_CLIENT_CERT']) && $_ENV['REDIRECT_SSL_CLIENT_S_DN'] != '' && $_ENV['REDIRECT_SSL_CLIENT_I_DN'] != '') |
|
44 | 44 |
{ |
45 | 45 |
$_SESSION['clientcert_cert'] = prepare_cert($_ENV['REDIRECT_SSL_CLIENT_CERT']); |
46 | 46 |
$_SESSION['clientcert_dn'] = $_ENV['REDIRECT_SSL_CLIENT_S_DN']; |
47 | 47 |