From cb4fe9c6327fc83e865e9d2dd06c719774f3a63c Mon Sep 17 00:00:00 2001 From: Hoffstadt Date: Thu, 18 Jun 2015 13:32:51 +0200 Subject: [PATCH] Changed require Crypt/RSA.php to require_once This change allows the lib usage with an autoloader. --- lib/openpgp_crypt_rsa.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openpgp_crypt_rsa.php b/lib/openpgp_crypt_rsa.php index 472e74c..e6b5752 100644 --- a/lib/openpgp_crypt_rsa.php +++ b/lib/openpgp_crypt_rsa.php @@ -7,7 +7,7 @@ */ // From http://phpseclib.sourceforge.net/ -require 'Crypt/RSA.php'; +require_once 'Crypt/RSA.php'; require_once dirname(__FILE__).'/openpgp.php'; @include_once dirname(__FILE__).'/openpgp_crypt_symmetric.php'; /* For encrypt/decrypt */