c_asn1_ddo[]: the oid field of the DDO is not mandatory in ISO 7816-15
See http://www.opensc-project.org/pipermail/opensc-devel/2006-October/009022.html git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3038 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
b8e96bb53b
commit
4a296307ac
|
@ -203,7 +203,7 @@ int sc_pkcs15_encode_tokeninfo(sc_context_t *ctx,
|
|||
}
|
||||
|
||||
static const struct sc_asn1_entry c_asn1_ddo[] = {
|
||||
{ "oid", SC_ASN1_OBJECT, SC_ASN1_TAG_OBJECT, 0, NULL, NULL },
|
||||
{ "oid", SC_ASN1_OBJECT, SC_ASN1_TAG_OBJECT, SC_ASN1_OPTIONAL, NULL, NULL },
|
||||
{ "odfPath", SC_ASN1_PATH, SC_ASN1_CONS | SC_ASN1_TAG_SEQUENCE, SC_ASN1_OPTIONAL, NULL, NULL },
|
||||
{ "tokenInfoPath", SC_ASN1_PATH, SC_ASN1_CONS | SC_ASN1_CTX | 0, SC_ASN1_OPTIONAL, NULL, NULL },
|
||||
{ "unusedPath", SC_ASN1_PATH, SC_ASN1_CONS | SC_ASN1_CTX | 1, SC_ASN1_OPTIONAL, NULL, NULL },
|
||||
|
|
Loading…
Reference in New Issue