projects
/
threegates.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fakeroot usage added to avoid root privileges requirements.
[threegates.git]
/
onlycrs
/
gate.php
1
<?php
2
require_once("Obj/certgate.pho");
3
4
function main()
5
{
6
GLOBAL $SSL_CLIENT_CERT;
7
8
$ret = crgt_certgate($SSL_CLIENT_CERT, FALSE);
9
10
switch ($ret) {
11
case CRGT_RETRY:
12
echo "CRGT_RETRY";
13
break;
14
case CRGT_TRUE:
15
echo "CRGT_TRUE";
16
break;
17
default:
18
echo "CRGT_FALSE";
19
break;
20
}
21
}
22
23
main();
24
25
?>