Fix: add room for a 'last-flag' object (Ivo Pieck)
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@1490 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
2457faa1e7
commit
e87ba3c387
|
@ -322,7 +322,7 @@ sc_asn1_encode_algorithm_id(struct sc_context *ctx,
|
|||
{
|
||||
struct sc_asn1_pkcs15_algorithm_info *alg_info;
|
||||
struct sc_algorithm_id temp_id;
|
||||
struct sc_asn1_entry asn1_alg_id[2];
|
||||
struct sc_asn1_entry asn1_alg_id[3];
|
||||
u8 *obj;
|
||||
size_t obj_len = 0;
|
||||
int r;
|
||||
|
|
Loading…
Reference in New Issue