From 74ee25bf8ae807eee4834bfca249624f05f3c919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <91878298+come-nc@users.noreply.github.com> Date: Thu, 24 Nov 2022 12:11:42 +0100 Subject: [PATCH] Fix PHP 8.2 dynamic property warning --- phpseclib/File/ASN1.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/phpseclib/File/ASN1.php b/phpseclib/File/ASN1.php index 802661e2..fd078b2c 100644 --- a/phpseclib/File/ASN1.php +++ b/phpseclib/File/ASN1.php @@ -198,6 +198,16 @@ class File_ASN1 */ var $filters; + /** + * Current Location of most recent ASN.1 encode process + * + * Useful for debug purposes + * + * @var array + * @see self::encode_der() + */ + var $location; + /** * Type mapping table for the ANY type. *