subject line of certificate not quite correct
authorcommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Mon, 13 Jul 2009 02:12:30 +0000 (02:12 +0000)
committercommunity.cacert.org <community.cacert.org@d4452222-2f33-11de-9270-010000000000>
Mon, 13 Jul 2009 02:12:30 +0000 (02:12 +0000)
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@67 d4452222-2f33-11de-9270-010000000000

database.php

index 0948949..8c7faea 100644 (file)
@@ -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]));