subject line of certificate not quite correct
git-svn-id: http://svn.cacert.cl/Software/Voting/vote@67 d4452222-2f33-11de-9270-010000000000
This commit is contained in:
parent
d34e2415c8
commit
c589d304ed
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ BODY;
|
||||||
if ($user) return $user;
|
if ($user) return $user;
|
||||||
++$d;
|
++$d;
|
||||||
}
|
}
|
||||||
|
$dn=$_SERVER['SSL_CLIENT_S_DN'];
|
||||||
if (preg_match_all('/\/emailAddress=([^\/]*)/',$dn,$reg,PREG_SET_ORDER)) {
|
if (preg_match_all('/\/emailAddress=([^\/]*)/',$dn,$reg,PREG_SET_ORDER)) {
|
||||||
foreach ($reg as $emailarr) {
|
foreach ($reg as $emailarr) {
|
||||||
$stmt->execute(array($emailarr[1]));
|
$stmt->execute(array($emailarr[1]));
|
||||||
|
|
Loading…
Reference in a new issue