crypto: asymmetric_keys/pkcs7.asn1 - remove the duplicated contentType pkcs7_note_OID processing logic
Subsystems (3)
PATCH 1/1 crypto: asymmetric_keys/pkcs7.asn1 - remove the duplicated contentType pkcs7_note_OID processing logic
The OID of contentType has been recorded in ContentType ::= OBJECT IDENTIFIER ({ pkcs7_note_OID }), so there is no need to re-extract the OID of contentType in contentType ContentType ({ pkcs7_note_OID }). Therefore, we need to remove the duplicated contentType pkcs7_note_OID processing logic.
Signed-off-by YiLin.Li <[email protected]>
--- crypto/asymmetric_keys/pkcs7.asn1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/asymmetric_keys/pkcs7.asn1 +1 -1
@@ -28,7 +28,7 @@ SignedData ::= SEQUENCE { } ContentInfo ::= SEQUENCE { - contentType ContentType ({ pkcs7_note_OID }), + contentType ContentType, content [0] EXPLICIT Data OPTIONAL }
Signature · 1 line
2.31.1
gently ping...
Quoted 25 lines
The OID of contentType has been recorded in
ContentType ::= OBJECT IDENTIFIER ({ pkcs7_note_OID }), so there is no need to re-extract the OID of contentType incontentType ContentType ({ pkcs7_note_OID }). Therefore, we need to remove the duplicated contentTypepkcs7_note_OIDprocessing logic.Signed-off-by YiLin.Li <[email protected]>--- crypto/asymmetric_keys/pkcs7.asn1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)crypto/asymmetric_keys/pkcs7.asn1 +1
-1@@ -28,7 +28,7 @@ SignedData ::= SEQUENCE { } ContentInfo ::= SEQUENCE { - contentType ContentType ({ pkcs7_note_OID }), + contentType ContentType, content [0] EXPLICIT Data OPTIONAL }
gently ping...
Quoted 1 line · YiLin.Li
gently ping...