revert broken example script

This commit is contained in:
Stephen Paul Weber 2011-07-25 12:01:26 -05:00
parent 951ff2cacc
commit 1322f45ded

View File

@ -3,9 +3,6 @@
require dirname(__FILE__).'/../lib/openpgp.php'; require dirname(__FILE__).'/../lib/openpgp.php';
require dirname(__FILE__).'/../lib/openpgp_crypt_rsa.php'; require dirname(__FILE__).'/../lib/openpgp_crypt_rsa.php';
echo OpenPGP::enarmor("test");
exit;
/* Parse secret key from STDIN, the key must not be password protected */ /* Parse secret key from STDIN, the key must not be password protected */
$wkey = OpenPGP_Message::parse(file_get_contents('php://stdin')); $wkey = OpenPGP_Message::parse(file_get_contents('php://stdin'));
$wkey = $wkey[0]; $wkey = $wkey[0];