diff options
author | community.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000> | 2009-07-13 02:12:30 +0000 |
---|---|---|
committer | community.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000> | 2009-07-13 02:12:30 +0000 |
commit | c589d304ed6caf7609109367d216f8bd3d2511c9 (patch) | |
tree | 1c825554bfd5e9c53fa461aa82e2a0350e1c85a2 /database.php | |
parent | d34e2415c84f55c3505331bd6fd2a5cc40d37990 (diff) | |
download | cacert-boardvoting-c589d304ed6caf7609109367d216f8bd3d2511c9.tar.gz cacert-boardvoting-c589d304ed6caf7609109367d216f8bd3d2511c9.tar.xz cacert-boardvoting-c589d304ed6caf7609109367d216f8bd3d2511c9.zip |
subject line of certificate not quite correct
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@67 d4452222-2f33-11de-9270-010000000000
Diffstat (limited to 'database.php')
-rw-r--r-- | database.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database.php b/database.php index 0948949..8c7faea 100644 --- a/database.php +++ b/database.php @@ -129,6 +129,7 @@ BODY; if ($user) return $user; ++$d; } + $dn=$_SERVER['SSL_CLIENT_S_DN']; if (preg_match_all('/\/emailAddress=([^\/]*)/',$dn,$reg,PREG_SET_ORDER)) { foreach ($reg as $emailarr) { $stmt->execute(array($emailarr[1])); |