diff --git a/lib/openpgp_crypt_rsa.php b/lib/openpgp_crypt_rsa.php index b04c946..2540879 100644 --- a/lib/openpgp_crypt_rsa.php +++ b/lib/openpgp_crypt_rsa.php @@ -222,6 +222,8 @@ static function try_decrypt_session($key, $edata) { $data = $key->decrypt($edata); } catch (\RuntimeException $e) { return NULL; + } catch (\OutOfRangeException $e) { + return NULL; } if(!$data) return NULL;