fixed copy/paste error

This commit is contained in:
Frank Morgner 2015-01-28 07:26:34 +01:00
parent b94c16394f
commit bd3cfcf5ef
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ iso7816_construct_fci(struct sc_card *card, const sc_file_t *file,
p, *outlen - (p - out), &p);
}
if (file->sec_attr_len) {
assert(sizeof(buf) >= file->prop_attr_len);
assert(sizeof(buf) >= file->sec_attr_len);
memcpy(buf, file->sec_attr, file->sec_attr_len);
sc_asn1_put_tag(0x86, buf, file->sec_attr_len,
p, *outlen - (p - out), &p);