summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-01-12 08:53:51 +0400
committerAndrew Dolgov <[email protected]>2014-01-12 08:53:51 +0400
commit07083d9caad0073327ef2a39a895965f7a483491 (patch)
treeb37be90730a2ef071f3d5e77815fcac2a8048e8d
parent2ab7ccb695fa690ee56100304b93d20e2c20debc (diff)
parent2af72401c6e50cb3d5cd76faf1688e9de30bd60e (diff)
Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
-rw-r--r--include/functions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index a64f0978a..fce15b535 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -692,6 +692,12 @@
$_SERVER["REDIRECT_SSL_CLIENT_V_END"] .
$_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 "";
}