Merge pull request #337 from jgrnt/master

Fixed get_ssl_certificate_id
This commit is contained in:
Andrew Dolgov 2014-01-11 08:38:15 -08:00
commit 2af72401c6
1 changed files with 6 additions and 0 deletions

View File

@ -692,6 +692,12 @@
$_SERVER["REDIRECT_SSL_CLIENT_V_END"] . $_SERVER["REDIRECT_SSL_CLIENT_V_END"] .
$_SERVER["REDIRECT_SSL_CLIENT_S_DN"]); $_SERVER["REDIRECT_SSL_CLIENT_S_DN"]);
} }
if ($_SERVER["SSL_CLIENT_M_SERIAL"]) {
return sha1($_SERVER["SSL_CLIENT_M_SERIAL"] .
$_SERVER["SSL_CLIENT_V_START"] .
$_SERVER["SSL_CLIENT_V_END"] .
$_SERVER["SSL_CLIENT_S_DN"]);
}
return ""; return "";
} }