diff options
author | Justus Winter <justus@g10code.com> | 2017-02-28 16:19:18 +0100 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2017-02-28 16:19:18 +0100 |
commit | e4583ae14e52482ab390c102d071755f91ab211d (patch) | |
tree | 30f28c89237eee0e13ea8425fd696613b9f68259 /g10/dearmor.c | |
parent | gpgscm: Fix calculating the line number. (diff) | |
download | gnupg2-e4583ae14e52482ab390c102d071755f91ab211d.tar.xz gnupg2-e4583ae14e52482ab390c102d071755f91ab211d.zip |
gpgscm: Improve parsing.
* tests/gpgscm/scheme.c (port_increment_current_line): Avoid creating
the same integer if the delta is zero. This happens a lot during
parsing, and puts pressure on the memory allocator.
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'g10/dearmor.c')
0 files changed, 0 insertions, 0 deletions