mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
ASN1: process input NULL fields.
This commit is contained in:
parent
50962f9cd3
commit
b05cff1320
@ -668,6 +668,8 @@ class File_ASN1 {
|
||||
}
|
||||
case FILE_ASN1_TYPE_OCTET_STRING:
|
||||
return base64_encode($decoded['content']);
|
||||
case FILE_ASN1_TYPE_NULL:
|
||||
return '';
|
||||
case FILE_ASN1_TYPE_BOOLEAN:
|
||||
return $decoded['content'];
|
||||
case FILE_ASN1_TYPE_NUMERIC_STRING:
|
||||
|
Loading…
Reference in New Issue
Block a user