Bugfix caused by typo in /mnet/lib.php: This issue will have broken mnet for many users.

This commit is contained in:
donal72
2007-10-02 06:44:07 +00:00
parent 014c522eb8
commit 75bbcfb74f
+1 -1
View File
@@ -246,7 +246,7 @@ function mnet_get_keypair() {
static $keypair = null;
if (!is_null($keypair)) return $keypair;
if ($result = get_field('config_plugins', 'value', 'plugin', 'mnet', 'name', 'openssl')) {
$keypair = explode('@@@@@@@@', $result);
list($keypair['certificate'], $keypair['keypair_PEM']) = explode('@@@@@@@@', $result);
$keypair['privatekey'] = openssl_pkey_get_private($keypair['keypair_PEM']);
$keypair['publickey'] = openssl_pkey_get_public($keypair['certificate']);
return $keypair;