diff options
author | NIIBE Yutaka <[email protected]> | 2018-02-12 09:56:58 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-02-12 09:56:58 +0000 |
commit | 0a3bec2c2525935362f87dce93d7df2c8d498498 (patch) | |
tree | d04194bfb0a302cd83c91a61be34c5d9b349f19d /dirmngr/server.c | |
parent | doc: Add compliance de-vs to gpgsm in vsnfd.prf (diff) | |
download | gnupg-0a3bec2c2525935362f87dce93d7df2c8d498498.tar.gz gnupg-0a3bec2c2525935362f87dce93d7df2c8d498498.zip |
scd: Fix handling for Data Object with no data.
* scd/app-openpgp.c (get_cached_data): Return NULL for Data Object
with no data.
--
When GET_DATA returns no data with success (90 00), this routine
firstly returned buffer with length zero, and secondly (with cache)
returned NULL, which is inconsistent. Now, it returns NULL for both
cases.
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/server.c')
0 files changed, 0 insertions, 0 deletions