summaryrefslogtreecommitdiff
path: root/lib/libcrypto/hmac/hm_ameth.c
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-11-26 15:45:48 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-11-26 15:45:48 +0000
commit8eacf7b1c332fcaa29bef8b33df255735ca4614f (patch)
tree256f3f230d80ff3d0c5bbcd3aeec5ef6e85db0cb /lib/libcrypto/hmac/hm_ameth.c
parent3b89abd14bd0dd68f602ba2f2474b8e67d790854 (diff)
Two small tweaks to the geofeed code
Only allocate b64 when it is needed. This way we can avoid allocating extra memory for the signed data itself. Also, only check for the end signature marker when it is actually expected. It's not forbidden - if stupid - to have a comment '# End Signature:' in the signed data. ok job
Diffstat (limited to 'lib/libcrypto/hmac/hm_ameth.c')
0 files changed, 0 insertions, 0 deletions