diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-10 04:18:30 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-10 04:18:30 +0000 |
commit | 7501f2e9c4e6fd94a191b381d52ec2fe1d103e29 (patch) | |
tree | f3a4ff7f2a5205522d5bd57e480b9c1fbb9606e3 | |
parent | scd: Relax a condition for p15 driver. (diff) | |
download | gnupg-7501f2e9c4e6fd94a191b381d52ec2fe1d103e29.tar.gz gnupg-7501f2e9c4e6fd94a191b381d52ec2fe1d103e29.zip |
scd: Relax a condition for p15 driver.
* scd/app-p15.c (read_ef_aodf): Fix.
--
Fixes-commit: 3c1ad96f1ce838daf2d861b33e6611f6d3043d25
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | scd/app-p15.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-p15.c b/scd/app-p15.c index f0bcdf4ac..0bb5f9e51 100644 --- a/scd/app-p15.c +++ b/scd/app-p15.c @@ -1823,7 +1823,7 @@ read_ef_aodf (app_t app, unsigned short fid, aodf_object_t *result) if (!err && (objlen > nn || class != CLASS_UNIVERSAL || tag != TAG_ENUMERATED)) err = gpg_error (GPG_ERR_INV_OBJ); - if (!err && || objlen > sizeof (ul)) + if (!err && objlen > sizeof (ul)) err = gpg_error (GPG_ERR_UNSUPPORTED_ENCODING); if (err) goto parse_error; |