1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

ASN1: 3.0 decodeBER() was optimized to remove duplicate work.

decodeBER() now runs twice as fast.
This commit is contained in:
Steven Hetland 2023-03-09 05:16:45 -05:00 committed by terrafrost
parent 5ab7f86739
commit abbc1ab7c7

View File

@ -205,7 +205,7 @@ abstract class ASN1
return null;
}
return [self::decode_ber($encoded)];
return [$decoded];
}
/**