summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-07-13 02:12:30 +0000
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>2009-07-13 02:12:30 +0000
commitc589d304ed6caf7609109367d216f8bd3d2511c9 (patch)
tree1c825554bfd5e9c53fa461aa82e2a0350e1c85a2
parentd34e2415c84f55c3505331bd6fd2a5cc40d37990 (diff)
downloadcacert-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
-rw-r--r--database.php1
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]));