aboutsummaryrefslogtreecommitdiff
path: root/models/openid-php-openid-782224d/admin/mathlib
diff options
context:
space:
mode:
Diffstat (limited to 'models/openid-php-openid-782224d/admin/mathlib')
-rw-r--r--models/openid-php-openid-782224d/admin/mathlib18
1 files changed, 18 insertions, 0 deletions
diff --git a/models/openid-php-openid-782224d/admin/mathlib b/models/openid-php-openid-782224d/admin/mathlib
new file mode 100644
index 000000000..53f50d06c
--- /dev/null
+++ b/models/openid-php-openid-782224d/admin/mathlib
@@ -0,0 +1,18 @@
+#!/usr/bin/env php
+<?php
+
+require_once 'adminutil.php';
+includeAdd(getParent());
+
+require_once 'Auth/OpenID/CryptUtil.php';
+
+$lib =& Auth_OpenID_MathLibrary::getLibWrapper();
+
+if ($lib === null) {
+ fwrite(STDERR, 'No math library present\n');
+ exit(1);
+} else {
+ print $lib->type;
+}
+
+?>