From c589d304ed6caf7609109367d216f8bd3d2511c9 Mon Sep 17 00:00:00 2001 From: "community.cacert.org" Date: Mon, 13 Jul 2009 02:12:30 +0000 Subject: [PATCH] subject line of certificate not quite correct git-svn-id: http://svn.cacert.cl/Software/Voting/vote@67 d4452222-2f33-11de-9270-010000000000 --- database.php | 1 + 1 file changed, 1 insertion(+) 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]));